Necessitas alpha 4 update 1 release

723 views
Skip to first unread message

BogDan Vatra

unread,
Sep 19, 2012, 5:16:28 PM9/19/12
to android-qt, Necessitas
Hello folks,

Today I have the pleasure the announce the first update for alpha4 release.
This release fixes the following problems:

Qt Framework:
- fix crash if DISABLE_KEYGUARD permission is not set
(https://bugs.kde.org/show_bug.cgi?id=306088).
- fix atomics for armv5 thumb architecture
(https://bugs.kde.org/show_bug.cgi?id=306210). This is consider a
(big) regression, so, alpha4 release must stay at least two weeks in
testing repository before it will land on stable repository [1].
- various qmake fixes for windows
(https://bugs.kde.org/show_bug.cgi?id=306747 ,
https://bugs.kde.org/show_bug.cgi?id=306778)
- make logging safer (https://bugs.kde.org/show_bug.cgi?id=306483).
- on Android request software input panel on mouse click
(https://bugs.kde.org/show_bug.cgi?id=305881)
- Some ma-make.exe fixes for Windows (8192 character limitation fix -
less use of batch files, subdirs fix)

QtCreator:
- sync with upstream (2.6 beta).
- fix a crash when you stop the debugging, thanks goes to
gian...@gmail.com for helping out.
- add QMAKE_INCDIR_xxxxx to headers search paths
(https://bugs.kde.org/show_bug.cgi?id=306699)
- fix qrc resource editor crash on Windows.

QtMobility:
- fix sensors crash on Android 4.x
(https://bugs.kde.org/show_bug.cgi?id=306214).

SDK Installer:
- we to switched back to gcc 4.4.3 due to some bugs discovered in
4.6. Please make sure you exit QtCreator when updating the SDK.

NDK:
- we to switched back to gcc 4.4.3 due to some bugs discovered in 4.6.
- fixes for make-standalone-toolchain.sh
(http://code.google.com/p/android/issues/detail?id=35279) with updated
build/tools scripts

After the SDK update is complete please check to make sure that the
installer switched back to 4.4.3 toolchain version
(Tools->Options->Android->Android NDK toolchain version); if not
please do this manually. Also, make sure you clean the old build
folder and run qmake again !
Ministro checks for new libraries every 1, 7 or 30 days, if you want
to force it to upgrade the libs then you need to run Ministro
Configuration Tool and choose the testing repository again then tap on
the notification to upgrade the libs.



For adb.exe problems on Windows, the following can be used to reduce
adb related QtCreator hangs (credit to Michael Heiser and Peter Bočan
for the idea):

In QtCreator open Projects on left vertical pane.
Choose <Run> at <Build/Run>.
Select Add Deploy Step and then insert "taskkill.exe" as Command.
Then insert "/F /IM adb.exe /T" as Arguments. Move this step on top so
that this command is executed before all other deploy steps.
QtCreator then kills all adb instances and restarts them. The IDE
could perhaps freeze a few seconds but it continues itself by running
the shell output of your app.
Even with this in place, occasional hangs still happen. In this case,
issuing "<INSTALLDIR>/android-sdk/platform-tools/adb.exe kill-server"
helps.

As usual, special thanks goes to Ray Donnelly and to KDE.

Yours sincerely,
BogDan.

[1] https://groups.google.com/group/android-qt/browse_thread/thread/f89bc5a49dbe27c1

glenn chen

unread,
Sep 19, 2012, 5:24:44 PM9/19/12
to andro...@googlegroups.com
> adb related QtCreator hangs (credit to Michael Heiser and Peter Bo�an
> for the idea):
>
> In QtCreator open Projects on left vertical pane.
> Choose <Run> at <Build/Run>.
> Select Add Deploy Step and then insert "taskkill.exe" as Command.
> Then insert "/F /IM adb.exe /T" as Arguments. Move this step on top so
> that this command is executed before all other deploy steps.
> QtCreator then kills all adb instances and restarts them. The IDE
> could perhaps freeze a few seconds but it continues itself by running
> the shell output of your app.
> Even with this in place, occasional hangs still happen. In this case,
> issuing "<INSTALLDIR>/android-sdk/platform-tools/adb.exe kill-server"
> helps.
>
> As usual, special thanks goes to Ray Donnelly and to KDE.
>
> Yours sincerely,
> BogDan.
>
> [1] https://groups.google.com/group/android-qt/browse_thread/thread/f89bc5a49dbe27c1
>
love you so much thank you thank you thank you...

ybailly

unread,
Sep 19, 2012, 5:35:57 PM9/19/12
to andro...@googlegroups.com, Necessitas


On Wednesday, September 19, 2012 11:16:30 PM UTC+2, BogDan wrote:
[...]

SDK Installer:
 - we to switched back to gcc 4.4.3 due to some bugs discovered in
4.6. Please make sure you exit QtCreator when updating the SDK.

NDK:
 - we to switched back to gcc 4.4.3 due to some bugs discovered in 4.6.


Too bad... I was working on a project which use some C++11 features, which might well be unavailable in gcc 4.4.3...
Is there any hope to see a more recent gcc sometime?

Anyway, a great thanks for your *great* work :-)
 

Ray Donnelly

unread,
Sep 19, 2012, 5:47:11 PM9/19/12
to andro...@googlegroups.com
If you want, you can still try to use 4.6 (it's still provided with
the NDK). If you run into difficulties then send an email to the list
and we can give you some tips/hacks.

Jonny

unread,
Sep 19, 2012, 6:40:43 PM9/19/12
to andro...@googlegroups.com, Necessitas
Nice job folks!
Thank you!
Cheers,
Jon

paulus

unread,
Sep 20, 2012, 5:42:16 AM9/20/12
to andro...@googlegroups.com
Excellent! Thanks for the effort :)

Daes Demon

unread,
Sep 20, 2012, 3:46:32 PM9/20/12
to andro...@googlegroups.com, Necessitas
Hi folks,

just a word to tell i succeed in compiling a Gui application and a qtQuick1 too with this Necessitas Version.

System Windows seven 64bits
Android API 7

The only problems i had were:
Had to Copy the tools.jar from JDK\lib to JRE\lib
And to add QtCreator/bin to path (in Environnement) ( and perhaps sdk/platform-tools, but not sure)

 Thanks for the good work.

Daes

mingw.android

unread,
Sep 20, 2012, 4:10:19 PM9/20/12
to andro...@googlegroups.com, Necessitas
Thanks for the feedback.

There's no need to add anything to your PATH (I dislike software that requires this kind of pollution).

Instead, you should run necessitas.bat, not qtcreator.exe. In fact, the start menu entry "Necessitas Qt SDK->Qt Creator" is actually a link to necessitas.bat. It will set the PATH temporarily before launching qtcreator.exe.

Cheers,

Ray.

Fabian Braun

unread,
Sep 26, 2012, 9:59:10 AM9/26/12
to andro...@googlegroups.com, Necessitas
Do I have to reinstall with the installer, which contains QtCreator, SDK, etc. or is a update with the SDK maintanane toll enough?

jenna

unread,
Sep 26, 2012, 12:54:29 PM9/26/12
to andro...@googlegroups.com, Necessitas
In teh Qt Creator, under teh help mune you can select Update and it will open the updater.

BogDan Vatra

unread,
Sep 28, 2012, 12:23:00 PM9/28/12
to andro...@googlegroups.com
Hello everyone,

First week without any regression report, one more to go until
alpha4 will land on stable repository and another two until beta1 will
be officially released !

Cheers,
BogDan.

sierdzio

unread,
Sep 29, 2012, 1:31:25 PM9/29/12
to andro...@googlegroups.com
Splendid news, thanks a lot and congratulations!

yyyy

unread,
Sep 30, 2012, 1:08:22 AM9/30/12
to andro...@googlegroups.com, Necessitas, yu...@hotmail.com
Thanks for your efforts, if Qt could have a mature port for android and ios, then Qt would become an extremely interesting library. 
A library which could help you deploy your programs on desktops, android and ios with  native performance, this is so sweet.


Reply all
Reply to author
Forward
0 new messages