maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Qt Maemo Extra Libs (https://talk.maemo.org/showthread.php?t=33334)

timoph 2009-10-22 18:12

Qt Maemo Extra Libs
 
Hi

I've been working on Qt extra libs for Maemo and uploaded them into extras-devel yesterday. Basically the libs offer Qt application developers easier access to Fremantle API's that are not available using normal Qt API's.

More info available from http://wiki.maemo.org/Maemo_Qt_Extra_Libraries

Since I don't have a N900 to test with, I'm asking for some help. If someone with N900 could try if the libs work on the device.

I uploaded a example application using the libraries tonight to extras-devel. The application main view consist of three buttons. One to change screen orientation and the other two to show Hildon banner and system note. Screen orientation changing can be set to automatic from the application menu.

You need to install the libs and the application using apt-get.

Code:

apt-get install qhildon-widgetcapabilities qhildon-systemcapabilities qhildon-notifications qmaemo-ext-libs-example
It also depends on libqt4-core, libqt4-gui and libqt4-dbus. I don't know if they're in the device already.

One warning in advance. At least when staring the application from scratchbox it doesn't start on the first try. Second one succeeds. If you feel unconfortable using unstable things, you might want to skip this test.

All feedback is appreciated.

Edit: Libs have been fixed the example doesn't segfault at start anymore :)

attila77 2009-10-22 18:33

Re: Qt Maemo Extra Libs
 
Segmentation fault :(

timoph 2009-10-22 18:36

Re: Qt Maemo Extra Libs
 
Did you try to start it for a second time? It does the same thing on scratchbox but starts on the second try.

attila77 2009-10-22 18:44

Re: Qt Maemo Extra Libs
 
Yes, several times - segfaults all the same. Don't have strace or anything too useful to discover what happens...

timoph 2009-10-22 18:47

Re: Qt Maemo Extra Libs
 
Guess I'll just have wait for Nokia to start shipping the devices. Hard to test without hardware.

kimitake 2009-10-22 19:11

Re: Qt Maemo Extra Libs
 
Hi timoph,

You should add you name at http://wiki.maemo.org/Fremantle_Developer_Device_Queue ;)

attila77 2009-10-22 19:25

Re: Qt Maemo Extra Libs
 
There is another option, the remote-access thingy on forum.nokia.com, not sure if it's good enough for you, but certainly easier than blind-testing through extras-devel.

timoph 2009-10-22 20:00

Re: Qt Maemo Extra Libs
 
Quote:

Originally Posted by kimitake (Post 355803)
Hi timoph,

You should add you name at http://wiki.maemo.org/Fremantle_Developer_Device_Queue ;)

Worth trying :)

timoph 2009-10-28 06:03

Re: Qt Maemo Extra Libs
 
I fixed the libs and the example can be now run on the device by installing the packages listed in the first post.


All times are GMT. The time now is 18:20.

vBulletin® Version 3.8.8