Necessitas ++

774 views
Skip to first unread message

BogDan

unread,
May 26, 2011, 10:47:12 AM5/26/11
to android-qt
Hello folks,

Today I have the honor to announce the second alpha of Necessitas
SDK and the first as a KDE project. YES, we've joined KDE, because we
share the same goal; to make Qt more powerful, more accessible, and to
keep it free for everyone.

This release brings a lot of exciting new features:
- we began to move Necessitas to KDE infrastructure:
* Ministro's and SDK installer repositories are hosted by KDE,
I'd like to personally thank KDE because they offered us their support
and infrastructure, and Nokia because they kindly sponsored the
server.
* Bug tracking, later, Google and sf.net bug tracking systems
will become readonly, we'll move all open bugs to KDE. Please use KDE
bug tracking system to report new issues (https://bugs.kde.org/
enter_bug.cgi?product=Necessitas&format=guided).
* Git repositories. I'd like to be clear, we are seeking to
push everything to upstream, so, all contributors MUST use gitorious
merge mechanism, otherwise Nokia will reject your work. ONLY official
Necessitas developers will use KDE's repository to push their commits,
we'll try to keep gitorious respos synced with KDE's ones !
* a new mail list for Necessitas developers
https://mail.kde.org/mailman/listinfo/necessitas-devel .
* slowly but surely we'll move everything to KDE, until then
you can still use current infrastructure from sf.net and
code.google.com.

- we've switch to Nokia's SDK Installer, now you'll have the
possibility to update/upgrade your installation. Thank you Nokia
because you share it with us !

- Thanks to Ray Donnelly, Necessitas comes with proper support for
Windows and latter also for Mac.
Known issues:
* The un-install doesn't work on windows so you'll need to
remove the install directory manually and clear out any registry keys.
* You can't create an AVD from within Necessitas on windows,
please use Googles SDK Manager for this instead.

- Qt framework.
* added proper support for SSL.
* fix the most annoying bugs.
* synced with upstream (I've been forced to do it, because of
QtWebKit).
Known issues:
* a lot: http://code.google.com/p/android-lighthouse/issues/list
, http://sourceforge.net/p/necessitas/tickets/

- Thanks to the Elektrobit team, Necessitas comes with QtMobility
(preview). Sadly I had to sync QtMobility with upstream, because it
wasn't compatible with Qt anymore, so I've probably broken something;
also I had to disable Multimedia module until we find a way to support
all platforms >=4, I'd like to personally thank Elektrobit team for
their priceless work.
Make sure you select the appropriate android permissions for every
QtMobility module you use (e.g. to use Contacts module,
android.permission.READ_CONTACTS and android.permission.WRITE_CONTACTS
are needed), otherwise your application may crash.
Known issues:
* Multimedia module is missing.
* Probably many more :)

- We ship QtWebKit 2.1, we activated JIT support, the good news is
that now QtWebKit is 2.5x times faster than the previous release, the
bad news are: is still 2x times slower than Google's WebKit, also the
memory consumption is still insanely high (to run SunSpider benchmark,
needs >200Mb).

- Necessitas is shipped with latest QtCreator 2.2.
* We added proper support for non-qt apps (check
http://blip.tv/file/get/Taipan-UsingNecessitasToDevelopNonqtApplications387.ogv
( youtube: http://www.youtube.com/watch?v=DIJQBpPSPB0 ) and
https://sourceforge.net/p/necessitas/wiki/Using%20Necessitas%20to%20develop%20non-qt%20applications
for more informations).
* Update plugin, thanks to Nokia.

- Again, thanks to Ray Donnelly, Necessitas ships gdb 7.2(with
python support), for the best native code debugging experience out
there.

- We also added possibility to install Google's official SDKs and
NDK using Necessitas SDK installer, so you only need to install java
and ant on your system.

- Necessitas comes with a new Android application
"MinistroConfigurationTool", which can be used by developers to choose
from three different Ministro repositories:
* "stable" repository is the repository used by normal users.
* "testing" repository is used to move the latest "regression
free" unstable version.
* "unstable" repository is used to push the newest development
version.

Repositories policy is simple:
- any major fixes, feature implementation will land in the
"unstable" repository quickly, thanks to a script which we developed
it during a very long and painful period of time, actually I spent
more time to create this script and all additional tools then to code
on Qt, with this script we can make a release in days, not in weeks or
months.
- when an *unstable* release is "regression free" for at least
two weeks, it will be moved to *testing* repository
- if a *testing* release is "regression free" for at least
three weeks, will become *stable*
This release is the *ONLY* one which goes directly to all
repositories !


Shortly after Qt Contributors’ Summit (Jun 19), we'll share with you
the road map for next releases (including beta).


You can download the SDK installers from sf.net project page:
http://sourceforge.net/projects/necessitas/files/ and latest Ministro
packages from: http://sourceforge.net/projects/ministro.necessitas.p/files/

I would like to conclude this post by thanking, all the amazing
contributors to Necessitas for their continuous feedback, ideas and
bug reports, again, special thanks goes to Ray Donnelly for his
priceless work (on gdb, on Windows and MacOSX ports, on SDK installer/
script, QtCreator, Qt, etc.) without his amazing contribution this
release wouldn't be possible, to Elektrobit team for their priceless
contribution to QtMobility, to Nokia for everything they did for Qt,
also because they kindly sponsored our server, to KDE for their first
class support!


Yours sincerely,
BogDan.

Frédéric MEUROU

unread,
May 26, 2011, 11:02:47 AM5/26/11
to andro...@googlegroups.com
Great news, thanks! Can't wait to test it!

Le 26/05/2011 16:47, BogDan a �crit :

> Shortly after Qt Contributors� Summit (Jun 19), we'll share with you

İsmail Dönmez

unread,
May 26, 2011, 11:04:06 AM5/26/11
to andro...@googlegroups.com
On Thu, May 26, 2011 at 4:47 PM, BogDan <taipan...@gmail.com> wrote:
Hello folks,

   Today I have the honor to announce the second alpha of Necessitas
SDK and the first as a KDE project. YES, we've joined KDE, because we
share the same goal; to make Qt more powerful, more accessible, and to
keep it free for everyone.

Thats plain awesome! Congratulations!

ismail
 

Fabrício Ceolin

unread,
May 26, 2011, 11:23:31 AM5/26/11
to andro...@googlegroups.com
I will test soon!
--
Fabrício Ceolin
ulevel.com

sbsomna...@gmail.com

unread,
May 26, 2011, 11:28:07 AM5/26/11
to andro...@googlegroups.com
Thats really sounds great
Sent from my Nokia phone

-----Original Message-----
From: BogDan
Sent: 26/05/2011, 8:17 PM
To: android-qt
Subject: Necessitas ++


Hello folks,

Today I have the honor to announce the second alpha of Necessitas
SDK and the first as a KDE project. YES, we've joined KDE, because we
share the same goal; to make Qt more powerful, more accessible, and to
keep it free for everyone.

This release brings a lot of exciting new features:


- we began to move Necessitas to KDE infrastructure:
* Ministro's and SDK installer repositories are hosted by KDE,
I'd like to personally thank KDE because they offered us their support
and infrastructure, and Nokia because they kindly sponsored the
server.
* Bug tracking, later, Google and sf.net bug tracking systems
will become readonly, we'll move all open bugs to KDE. Please use KDE
bug tracking system to report new issues (https://bugs.kde.org/
enter_bug.cgi?product=Necessitas&format=guided).
* Git repositories. I'd like to be clear, we are seeking to
push everything to upstream, so, all contributors MUST use gitorious
merge mechanism, otherwise Nokia will reject your work. ONLY official
Necessitas developers will use KDE's repository to push their commits,
we'll try to keep gitorious respos synced with KDE's ones !
* a new mail list for Necessitas developers
https://mail.kde.org/mailman/listinfo/necessitas-devel .
* slowly but surely we'll move everything to KDE, until then
you can still use current infrastructure from sf.net and
code.google.com.

- we've switch to Nokia's SDK Installer, now you'll have the

possibility to o update/upgrade your installation. Thank you Nokia


Shortly after Qt Contributors’ Summit (Jun 19), we'll share with you

Samuel Lepetit

unread,
May 26, 2011, 12:22:33 PM5/26/11
to andro...@googlegroups.com
Great job ! :)

Does the new SDK installer supports x86-64 linux ? It didn't work for
me with the 0.1, i had to recompile it.

2011/5/26 BogDan <taipan...@gmail.com>:

--
Samuel L.

samuel....@u-psud.fr
lepetit...@gmail.com

Ross Private

unread,
May 26, 2011, 12:29:38 PM5/26/11
to andro...@googlegroups.com
Great news..

Did the work from Carlos F. Quiros Campos WRT GPS in QtMobility make it into
this release ? or will we still need to replace qtmain_android.cpp etc. ?

Thanks, Ross




Willy Gardiol

unread,
May 27, 2011, 5:31:58 AM5/27/11
to andro...@googlegroups.com

How do i install 0.2 if i am behind a proxy?

--
Willy Gardiol
wi...@gardiol.org
www.gardiol.org
www.trackaway.org -> Track YOUR way the way you want!

Willy Gardiol

unread,
May 27, 2011, 5:36:44 AM5/27/11
to andro...@googlegroups.com

I am answering myself: the online installer can pick up your proxy
automatically...

BogDan

unread,
May 27, 2011, 10:13:11 AM5/27/11
to android-qt
It should work on any modern linux distribution. It was built using
debian 6.0 (i386).

BogDan.


On May 27, 12:22 am, Samuel Lepetit <lepetit.sam...@gmail.com> wrote:
> Great job ! :)
>
> Does the new SDK installer supports x86-64 linux ? It didn't work for
> me with the 0.1, i had to recompile it.
>
> 2011/5/26 BogDan <taipanroma...@gmail.com>:
> > ,http://sourceforge.net/p/necessitas/tickets/
>
> >    - Thanks to the Elektrobit team, Necessitas comes with QtMobility
> > (preview). Sadly I had to sync QtMobility with upstream, because it
> > wasn't compatible with Qt anymore, so I've probably broken something;
> > also I had to disable Multimedia module until we find a way to support
> > all platforms >=4, I'd like to personally thank Elektrobit team for
> > their priceless work.
> >    Make sure you select the appropriate android permissions for every
> > QtMobility module you use (e.g. to use Contacts module,
> > android.permission.READ_CONTACTS and android.permission.WRITE_CONTACTS
> > are needed), otherwise your application may crash.
> >    Known issues:
> >        * Multimedia module is missing.
> >        * Probably many more :)
>
> >    - We ship QtWebKit 2.1, we activated JIT support, the good news is
> > that now QtWebKit is 2.5x times faster than the previous release, the
> > bad news are: is still 2x times slower than Google's WebKit, also the
> > memory consumption is still insanely high (to run SunSpider benchmark,
> > needs >200Mb).
>
> >    - Necessitas is shipped with latest QtCreator 2.2.
> >        * We added proper support for non-qt apps (check
> >http://blip.tv/file/get/Taipan-UsingNecessitasToDevelopNonqtApplicati...
> > ( youtube:http://www.youtube.com/watch?v=DIJQBpPSPB0) and
> >https://sourceforge.net/p/necessitas/wiki/Using%20Necessitas%20to%20d...
> >http://sourceforge.net/projects/necessitas/files/and latest Ministro
> > packages from:http://sourceforge.net/projects/ministro.necessitas.p/files/
>
> > I would like to conclude this post by thanking, all the amazing
> > contributors to Necessitas for their continuous feedback, ideas and
> > bug reports, again, special thanks goes to Ray Donnelly for his
> > priceless work (on gdb, on Windows and MacOSX ports, on SDK installer/
> > script, QtCreator, Qt, etc.) without his amazing contribution this
> > release wouldn't be possible, to Elektrobit team for their priceless
> > contribution to QtMobility, to Nokia for everything they did for Qt,
> > also because they kindly sponsored our server, to KDE for their first
> > class support!
>
> > Yours sincerely,
> > BogDan.
>
> --
> Samuel L.
>
> samuel.lepe...@u-psud.fr
> lepetit.sam...@gmail.com

BogDan

unread,
May 27, 2011, 10:14:11 AM5/27/11
to android-qt
No, we ship it with Elektrobit implementation into QtMobility
(locations module).

BogDan.

Mad Max

unread,
May 29, 2011, 8:50:41 AM5/29/11
to android-qt
I installed Necessitas on Linux Mint 10 (Ubuntu 10.10) 64-bit with
"necessitas-0.2-online-sdk-installer-linux", but the Qt creator don't
start. What can I do?

Markus

mingw.android

unread,
May 29, 2011, 9:26:49 AM5/29/11
to andro...@googlegroups.com
You could provide more information.

Try running the application from the command line, try running it
through strace, paste any output to the list.

Mad Max

unread,
May 29, 2011, 10:32:21 AM5/29/11
to android-qt
On 29 Mai, 15:26, "mingw.android" <mingw.andr...@gmail.com> wrote:
> You could provide more information.

When I start QtCreator from command line I get the following message:
"The core plugin could not be loaded: / opt / necessitas / QtCreator /
lib / qtcreator / plugins / Nokia / libCore.so: The library / opt /
necessitas / QtCreator / lib / qtcreator / plugins / Nokia /
libCore.so can not charged are: (libQtHelp.so.4: Unable to open the
shared object file: No such file or directory)" (Translated from
german)

And some more:

ldd /opt/necessitas/QtCreator/lib/qtcreator/plugins/Nokia/libCore.so
linux-gate.so.1 => (0xf772f000)
libBotan.so.1 => /opt/necessitas/QtCreator/lib/qtcreator/plugins/
Nokia/../../libBotan.so.1 (0xf72f4000)
libUtils.so.1 => /opt/necessitas/QtCreator/lib/qtcreator/plugins/
Nokia/../../libUtils.so.1 (0xf71e6000)
libAggregation.so.1 => /opt/necessitas/QtCreator/lib/qtcreator/
plugins/Nokia/../../libAggregation.so.1 (0xf71e1000)
libExtensionSystem.so.1 => /opt/necessitas/QtCreator/lib/qtcreator/
plugins/Nokia/../../libExtensionSystem.so.1 (0xf71b1000)
>>> libQtHelp.so.4 => not found
libQtScript.so.4 => /usr/lib32/libQtScript.so.4 (0xf6f07000)
libQtSql.so.4 => /usr/lib32/libQtSql.so.4 (0xf6ec7000)
libQtXml.so.4 => /usr/lib32/libQtXml.so.4 (0xf6e84000)
libQtGui.so.4 => /usr/lib32/libQtGui.so.4 (0xf63bb000)
libQtNetwork.so.4 => /usr/lib32/libQtNetwork.so.4 (0xf6294000)
libQtCore.so.4 => /usr/lib32/libQtCore.so.4 (0xf5ffc000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf5fe2000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf5ef7000)
libm.so.6 => /lib32/libm.so.6 (0xf5ed1000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf5eb5000)
libc.so.6 => /lib32/libc.so.6 (0xf5d5a000)
librt.so.1 => /lib32/librt.so.1 (0xf5d50000)
libdl.so.2 => /lib32/libdl.so.2 (0xf5d4c000)
libQtDBus.so.4 => /usr/lib32/libQtDBus.so.4 (0xf5cd1000)
libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf5ca1000)
libaudio.so.2 => /usr/lib32/libaudio.so.2 (0xf5c89000)
libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf5bba000)
libpng12.so.0 => /lib32/libpng12.so.0 (0xf5b95000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf5b80000)
libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf5b09000)
libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf5ac5000)
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf5abc000)
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf5aa3000)
libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf5a99000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf5a89000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf596c000)
libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf5966000)
/lib/ld-linux.so.2 (0xf7730000)
libexpat.so.1 => /lib32/libexpat.so.1 (0xf593f000)
libXt.so.6 => /usr/lib32/libXt.so.6 (0xf58ec000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf58e8000)
libpcre.so.3 => /lib32/libpcre.so.3 (0xf58b3000)
libuuid.so.1 => /lib32/libuuid.so.1 (0xf58ad000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf5893000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf588d000)

Do you need more information?


mingw.android

unread,
May 29, 2011, 10:29:11 AM5/29/11
to andro...@googlegroups.com
Can you try launching necessitas (shell script that should be in same
folder as the QtCreator executable) from cmd line please?

Mad Max

unread,
May 29, 2011, 11:57:33 AM5/29/11
to android-qt
On 29 Mai, 16:29, "mingw.android" <mingw.andr...@gmail.com> wrote:
> Can you try launching necessitas (shell script that should be in same
> folder as the QtCreator executable) from cmd line please?

Command:
/opt/necessitas/QtCreator/bin/necessitas

Output:
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF-class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

(<unknown>:3222): GdkPixbuf-WARNING **: Bug! loader 'png' didn't set
an error on failure

(<unknown>:3222): Gtk-WARNING **: Error loading theme icon 'gtk-
cancel' for stock: Interner Fehler: Bildlader-Modul »png« schaffte es
nicht, eine Operation abzuschließen, gab aber keinen Grund für den
Fehler an

(<unknown>:3222): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed

** (<unknown>:3222): CRITICAL **: murrine_style_draw_render_icon:
assertion `base_pixbuf != NULL' failed

(<unknown>:3222): Gtk-CRITICAL **: IA__gtk_style_render_icon:
assertion `pixbuf != NULL' failed

(<unknown>:3222): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels:
assertion `GDK_IS_PIXBUF (pixbuf)' failed

(<unknown>:3222): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width:
assertion `GDK_IS_PIXBUF (pixbuf)' failed

(<unknown>:3222): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:
assertion `GDK_IS_PIXBUF (pixbuf)' failed
Memory access error

mingw android

unread,
May 29, 2011, 12:08:03 PM5/29/11
to andro...@googlegroups.com

Can you cd to that directory and enter necessitas please?

Mad Max

unread,
May 29, 2011, 12:35:48 PM5/29/11
to android-qt
> Can you cd to that directory and enter necessitas please?

Command:
/opt/necessitas/QtCreator/bin $ ./necessitas

Output:
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF-Klasse: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so

(<unknown>:3427): GdkPixbuf-WARNING **: Bug! loader 'png' didn't set
an error on failure

(<unknown>:3427): Gtk-WARNING **: Error loading theme icon 'gtk-
cancel' for stock: Interner Fehler: Bildlader-Modul »png« schaffte es
nicht, eine Operation abzuschließen, gab aber keinen Grund für den
Fehler an

(<unknown>:3427): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed

** (<unknown>:3427): CRITICAL **: murrine_style_draw_render_icon:
assertion `base_pixbuf != NULL' failed

(<unknown>:3427): Gtk-CRITICAL **: IA__gtk_style_render_icon:
assertion `pixbuf != NULL' failed

(<unknown>:3427): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels:
assertion `GDK_IS_PIXBUF (pixbuf)' failed

(<unknown>:3427): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width:
assertion `GDK_IS_PIXBUF (pixbuf)' failed

(<unknown>:3427): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:
assertion `GDK_IS_PIXBUF (pixbuf)' failed
memory access error


It seems to be the same output.

mingw android

unread,
May 29, 2011, 4:06:04 PM5/29/11
to andro...@googlegroups.com

Theres a script in ministro git repo in the Necessitas_SDK folder to setup a ubuntu 64 bit system for compiling the sdk. You could try running that, or parts of it. Im not a linux master...

Mad Max

unread,
May 29, 2011, 6:18:16 PM5/29/11
to android-qt
On 29 Mai, 22:06, mingw android <mingw.andr...@gmail.com> wrote:
> Theres a script in ministro git repo in the Necessitas_SDK folder to setup a
> ubuntu 64 bit system for compiling the sdk. You could try running that, or
> parts of it. Im not a linux master...

I'm not a linux master, too. But I've found out, that the Qt Creator
starts when I use sudo. Maybe I find out the difference between the
usage of sudo and non sudo.

Matthew Huck

unread,
May 29, 2011, 9:37:40 PM5/29/11
to andro...@googlegroups.com
Trying this with a Motorola Xoom, debugging is broken, to get the last version to work I had to follow the instructions laid out in

Hopefully in a few days time, I might be able to look into patching the gdbserver that is shipped (unless anyone has beaten me to it)

Any pointers where to start?

Cheers

Matthew

sag

unread,
May 30, 2011, 2:15:05 AM5/30/11
to android-qt
Great news!!!! Good going...

Frédéric Meurou

unread,
May 30, 2011, 2:21:58 AM5/30/11
to andro...@googlegroups.com
I haven't tried debugging on Motorola Xoom, but my app feels much faster with the updated Necessitas.



2011/5/30 Matthew Huck <matthe...@gmail.com>
Reply all
Reply to author
Forward
0 new messages