Active Topics

 


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Jun 2011 @ Vietnam
#101
Originally Posted by attila77 View Post
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
}
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#102
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.
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#103
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?
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#104
Originally Posted by gionni88 View Post
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 ?
__________________
Blogging about mobile linux - The Penguin Moves!
Maintainer of PyQt (see introduction and docs), AppWatch, QuickBrownFox, etc
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#105
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)
 
Posts: 223 | Thanked: 323 times | Joined on Dec 2010
#106
Originally Posted by gionni88 View Post
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)
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#107
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.
 
Posts: 4 | Thanked: 2 times | Joined on Aug 2011
#108
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?
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#109
Originally Posted by x29a View Post
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.
 

The Following User Says Thank You to ivgalvez For This Useful Post:
Posts: 44 | Thanked: 89 times | Joined on Oct 2009
#110
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.
 
Reply

Tags
bluetooth, nfc-api, qtmobility

Thread Tools

 
Forum Jump


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