[Qt-qml] Fwd: QtMobility declarative examples

Tico Ballagas ballagas at gmail.com
Thu Sep 16 06:30:52 CEST 2010


I got an answer from the qt-mobility guys.  It looks like the "make install" does not correctly place the declarative libraries in the install directory.  I manually copied things from the build tree into /imports/QtMobility and the examples worked! 

To follow up on your request, attached is the directory tree listing of the install directory after a "make install" that I copied into /opt/qt4-maemo5/.  Note there is no "imports" directory at all.  

Best
-Tico


On Sep 15, 2010, at 5:30 PM, <aaron.kennedy at nokia.com> wrote:

> Hi,
> 
> What does “installed qtmobility in /opt/qt4-maemo5” equate to in real terms?  Is there an /opt/qt4-maemo5/imports/QtMobility/location directory that contains a shared library?  If not, please attach a directory tree listing of the /opt/qt4-maemo5 directory.
> 
> Cheers,
> 
> Aaron
> 
> 
> On 16/09/10 4:24 AM, "ext Tico Ballagas" <ballagas at gmail.com> wrote:
> 
>> I didn't get any bites on the mobility list, can anyone here help me with importing QtMobility 1.1?  How do I get qmlviewer to find the installed libraries?
>> 
>> Best
>> -Tico
>> 
>> Begin forwarded message:
>> 
>>> From: Tico Ballagas <ballagas at gmail.com>
>>> Date: September 14, 2010 12:33:34 AM PDT
>>> To: qt-mobility-feedback at trolltech.com
>>> Subject: QtMobility declarative examples
>>> 
>>> Hi-
>>> 
>>> I finally got QtMobility 1.1 to build for my N900.  However, now I'm having problems running the declarative examples.
>>> 
>>> I get the following running QML_IMPORT_TRACE=1 /opt/qt4-maemo5/bin/qmlviewer:
>>> QDeclarativeImportDatabase::addImportPath "/opt/qt4-maemo5/imports" 
>>> QDeclarativeImportDatabase::addImportPath "/opt/qt4-maemo5/bin" 
>>> QDeclarativeImportDatabase::addToImport 0x2d83c4 "." -1.-1 File as ""
>>> QDeclarativeImportDatabase::addToImport 0x2d83c4 "Qt" 4.7 Library as ""
>>> QDeclarativeImportDatabase::addToImport 0x2d83c4 "QtMobility.location" 1.1 Library as ""
>>> file:///home/user/test.qml:2:1: module "QtMobility.location" is not installed 
>>>      import QtMobility.location 1.1 
>>> 
>>> I've installed qtmobility in /opt/qt4-maemo5/
>>> 
>>> How do I set my environment appropriately for qmlviewer to see the qtmobility libraries?  Do I need to create a qmldir file for this that explicitly lists all of the library files?
>>> 
>>> Best
>>> -Tico
>> 
>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100915/66955be2/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qt-mobility-dir-listing.txt
Url: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100915/66955be2/attachment.txt 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100915/66955be2/attachment-0001.html 


More information about the Qt-qml mailing list