maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [ANNOUNCE] Qt Mobility 1.2 for Fremantle (https://talk.maemo.org/showthread.php?t=68123)

hoangnt149 2011-11-14 00:31

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
Quote:

Originally Posted by attila77 (Post 1123144)
What exactly do you want to do ? To use this package, just do CONFIG += mobility12

I saw this on Qt page but dont know exactly what I must do

on the device, and in you .pro file you need:

maemo5 {
CONFIG += mobility12
} else {
CONFIG += mobility
}

attila77 2011-11-14 08:30

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
That "on the device" part refers to the previous line in the wiki page (the apt-get). You need to change the .pro file (from QtCreator) only if you are developing an application.

gionni88 2011-11-18 20:21

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
I have installed libqtm-dev and libqtm-12 on QtSDK and libqtm-12 (It removed all others libqtm modules) on N900, but when starting application I get this error:

/opt/todolisterfreefremantle/bin/todolisterfreefremantle: error while loading shared libraries: libQtOrganizer.so.1: cannot open shared object file: No such file or directory

The file is in /opt/qtm12/lib, so it's not missing, but app seams not to look there for libs.

Have I missed anything?

attila77 2011-11-19 12:35

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
Quote:

Originally Posted by gionni88 (Post 1125675)
I have installed libqtm-dev and libqtm-12 on QtSDK and libqtm-12 (It removed all others libqtm modules) on N900, but when starting application I get this error:

/opt/todolisterfreefremantle/bin/todolisterfreefremantle: error while loading shared libraries: libQtOrganizer.so.1: cannot open shared object file: No such file or directory

The file is in /opt/qtm12/lib, so it's not missing, but app seams not to look there for libs.

Have I missed anything?

A good verification step is to do a 'ldd /opt/todolisterfreefremantle/bin/todolisterfreefremantle | grep libQt' on the device to see what's it looking for. Did you use the latest (...fremantle5) version ? Did you use the QtSDK on Windows, Linux or Mac ?

gionni88 2011-11-20 15:57

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
I have used latest version, fremantle5, exactly this dev package. QtSdk on Linux.

My other application using Mobility organizer is still working, so I had installed an old qtm-12-dev package, and now the lib is found.

I don't know if is my N900 package situation which caused this, so I grepped the qtm packages:
Code:

dpkg -l | grep qtm
ii  libqtm-11-contacts                                  1:1.1.2-0fn~fremantle0                    Qt Mobility contacts module
ii  libqtm-11-declarative                              1:1.1.2-0fn~fremantle0                    Qt Mobility Declarative module
ii  libqtm-11-feedback                                  1:1.1.2-0fn~fremantle0                    Qt Mobility Feedback module
ii  libqtm-11-gallery                                  1:1.1.2-0fn~fremantle0                    Qt Mobility Document Gallery module
ii  libqtm-11-location                                  1:1.1.2-0fn~fremantle0                    Qt Mobility location module
ii  libqtm-11-messaging                                1:1.1.2-0fn~fremantle0                    Qt Mobility messaging module
ii  libqtm-11-multimedia                                1:1.1.2-0fn~fremantle0                    Qt Mobility multimedia module
ii  libqtm-11-organizer                                1:1.1.2-0fn~fremantle0                    Qt Mobility Organizer module
ii  libqtm-11-publishsubscribe                          1:1.1.2-0fn~fremantle0                    Qt Mobility publish and subscribe module
ii  libqtm-11-sensors                                  1:1.1.2-0fn~fremantle0                    Qt Mobility service framework module
ii  libqtm-11-serviceframework                          1:1.1.2-0fn~fremantle0                    Qt Mobility service framework module
ii  libqtm-11-systeminfo                                1:1.1.2-0fn~fremantle0                    Qt Mobility system information module
ii  libqtm-11-versit                                    1:1.1.2-0fn~fremantle0                    Qt Mobility versit module
ii  libqtm-12                                          1:1.2.0+git20111104-0nd~fremantle5        Experimental QtMobility metapackage
rc  libqtm-12-connectivity                              1:1.2.0-0fn~fremantle0                    Qt Mobility Connectivity module
rc  libqtm-12-contacts                                  1:1.2.0-0fn~fremantle2                    Qt Mobility contacts module
rc  libqtm-12-feedback                                  1:1.2.0-0fn~fremantle0                    Qt Mobility Feedback module
rc  libqtm-12-gallery                                  1:1.2.0-0fn~fremantle0                    Qt Mobility Document Gallery module
rc  libqtm-12-location                                  1:1.2.0-0fn~fremantle2                    Qt Mobility location module
rc  libqtm-12-messaging                                1:1.2.0-0fn~fremantle2                    Qt Mobility messaging module
rc  libqtm-12-multimedia                                1:1.2.0-0fn~fremantle2                    Qt Mobility multimedia module
rc  libqtm-12-organizer                                1:1.2.0-0fn~fremantle3                    Qt Mobility Organizer module
rc  libqtm-12-publishsubscribe                          1:1.2.0-0fn~fremantle2                    Qt Mobility publish and subscribe module
rc  libqtm-12-sensors                                  1:1.2.0-0fn~fremantle0                    Qt Mobility service framework module
rc  libqtm-12-serviceframework                          1:1.2.0-0fn~fremantle2                    Qt Mobility service framework module
rc  libqtm-12-systeminfo                                1:1.2.0-0fn~fremantle2                    Qt Mobility system information module
rc  libqtm-12-versit                                    1:1.2.0-0fn~fremantle2                    Qt Mobility versit module
ii  libqtm-bearer                                      1:1.0.2-maemo4+0m5                        Qt Mobility Bearer module
ii  libqtm-contacts                                    1:1.0.2-maemo4+0m5                        Qt Mobility contacts module
ii  libqtm-location                                    1:1.0.2-maemo4+0m5                        Qt Mobility location module
ii  libqtm-messaging                                    1:1.0.2-maemo4+0m5                        Qt Mobility messaging module
ii  libqtm-multimedia                                  1:1.0.2-maemo4+0m5                        Qt Mobility multimedia module
ii  libqtm-publishsubscribe                            1:1.0.2-maemo4+0m5                        Qt Mobility publish and subscribe module
ii  libqtm-sensors                                      1:1.0.2-maemo4+0m5                        Qt Mobility sensors framework module
ii  libqtm-serviceframework                            1:1.0.2-maemo4+0m5                        Qt Mobility service framework module
ii  libqtm-systeminfo                                  1:1.0.2-maemo4+0m5                        Qt Mobility system information module
ii  libqtm-versit                                      1:1.0.2-maemo4+0m5                        Qt Mobility versit module
ii  python-pyside.qtmaemo5                              1.0.5-1maemo1                              Qt 4 Maemo5 module - Python bindings
ii  qtm-maemo-metapackage                              1.3-2+0m5                                  Qt Mobility meta package update for Maemo
ii  qtm-modest-plugin                                  0.0.2-6+0m5                                Qt-Mobility Plugin for Modest

This is the resoult of ldd, when using latest libqtm-12-dev the organizer module was just saying missing.
Code:

ldd /opt/todolisterfreefremantle/bin/todolisterfreefremantle | grep libQt
        libQtOrganizer.so.1 => /opt/qtm12/lib/libQtOrganizer.so.1 (0x40025000)
        libQtDeclarative.so.4 => /usr/lib/libQtDeclarative.so.4 (0x40147000)
        libQtScript.so.4 => /usr/lib/libQtScript.so.4 (0x4053b000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x407f4000)
        libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0x40861000)
        libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0x40de2000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x40e75000)
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x40fd2000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x4101a000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x41b38000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x41bdb000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x41c33000)


orava 2011-11-20 16:19

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
Quote:

Originally Posted by gionni88 (Post 1125675)
I have installed libqtm-dev and libqtm-12 on QtSDK and libqtm-12 (It removed all others libqtm modules) on N900, but when starting application I get this error:

/opt/todolisterfreefremantle/bin/todolisterfreefremantle: error while loading shared libraries: libQtOrganizer.so.1: cannot open shared object file: No such file or directory

The file is in /opt/qtm12/lib, so it's not missing, but app seams not to look there for libs.

Have I missed anything?

You should add /opt/qtm12/lib to /etc/ld.so.conf and run ldconfig to make libraries to be searched from that directory. (Or you can start your app with /lib/ld-linux.so.3 --library-path /opt/qtm12/lib EXECUTABLE-FILE)

ivgalvez 2012-02-12 11:44

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
I have recently upgrade libqtm to version fremantle3, available in Extras and I have seen it has taken 5 Mb of rootfs space. Seems to be not correctly optified.

x29a 2012-02-12 12:02

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
i think this is due to the new approach to include all "modules" into the lib, so 5MB seems about right. Its a big lib after all

how is the functionality for you?

ivgalvez 2012-02-12 16:45

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
Quote:

Originally Posted by x29a (Post 1163879)
how is the functionality for you?

The only applications I have that depend on it are CuteTube QML and mBarcode and they both seem to work OK.

toninikkanen 2012-05-07 19:32

Re: [ANNOUNCE] Qt Mobility 1.2 for Fremantle
 
Thanks for this, I'm making some updates to some apps I did ~2,5 years ago and the support for detecting backlight dimming via QSystemDisplayInfo is appreciated! Seems to work.


All times are GMT. The time now is 09:24.

vBulletin® Version 3.8.8