Hi Arto, It seems that the declarative plug-ins are not installed properly
The qml plug-ins do not follow the mobility prefix. They are installed wherever Qt is installed to. Your Qt seems to be installed to C:/Qt/4.7.1/ and subsequently C:/Qt/4.7.1/imports is used for qml plug-in deployment. The prefix c:\qt\Mobility is irrelevant. Could you please post the make and make install command line output for one of the declarative plug-ins? e.g for location: C:\QT\qt-mobility-opensource-src-1.1.0\plugins\declarative\location make clean make make install Alternatively you may just send the Makefile. -- Alex >-----Original Message----- >From: [email protected] [mailto:qt-mobility- >[email protected]] On Behalf Of ext Arto Salminen >Sent: Thursday, 25 November 2010 0:13 >To: [email protected] >Subject: [Qt-mobility-feedback] Problem with QML plugins > >Hello, > >I have compiled and installed QtMobility with following configuration: >Windows XP SP3, >Qt 4.7.1, >QtMobility 1.1 and >QtCreator 2.1 beta-2. > >I did the installation with required steps: > >(1) C:\QT\qt-mobility-opensource-src-1.1.0\plugins>configure -prefix >c:\qt\Mobility -release >(2) make >(3) make install > >However, qmlviewer shows following error when I try to execute my >qml-project: > >file:///C:/QT/qt-projects-s60/mobility-map/mobility-map.qml:2:1: plugin >cannot be loaded for module "QtMobility.location": Cannot load library >C:/Qt/4.7.1/imports/QtMobility/location/declarative_location.dll: The >specified module could not be found. > import QtMobility.location 1.1 > > ^ > >The error occurs with other modules too: > >file:///C:/QT/qt-projects-s60/mobility-map/mobility-map.qml:2:1: plugin >cannot be loaded for module "QtMobility.serviceframework": Cannot load >library >C:/Qt/4.7.1/imports/QtMobility/serviceframework/declarative_serviceframe >work.dll: >The specified module could not be found. > import QtMobility.serviceframework 1.1 > > ^ > >I have already tried to empty the plugin cache and compile/install >declarative plugins in both release and debug configuration. > >Any pointers? > >BR, >Arto Salminen > >_______________________________________________ >Qt-mobility-feedback mailing list >[email protected] >http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
