After further digging, it seems like "make install" doesn't properly create and install the imports/QtMobility directory with related qmldir's and libqml*.so files. This causes the "import QtMobility" statements in the /examples/declarative-* to fail.
How do I generate these libraries and qmldir's for testing QtMobility within QML? There didn't seem to be any relevant flags in the configure --help. Am I missing something? -Tico On Sep 14, 2010, at 12:33 AM, Tico Ballagas wrote: > 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 _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
