Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 2.1.0, Qt Creator 2.2.1
-
None
Description
Original report:
–
I am not able to run/debug qmlcontacts example app from qtmobility with latest 4.7.2 SDK using Qt Simulator for mingW.
Is there anything extra needed to be done for running the same in Qt Simulator
This is the runtime failiure I get when I try to execute the application:
Starting C:\Qt\QML Projects\qmlcontacts-build-simulator\debug\qmlcontacts.exe...
qrc:/contacts.qml:42:1: plugin cannot be loaded for module "QtMobility.contacts": Cannot load library C:/QtSDK/Simulator/Qt/mingw/imports/QtMobility/contacts/declarative_contactsd.dll: The specified module could not be found.
C:\Qt\QML Projects\qmlcontacts-build-simulator\debug\qmlcontacts.exe exited with code 0
Following is the snippet of statement which is causing failiure:
import QtMobility.contacts 1.1
–
Follow up by Michael Goddard, probably related to QTMOBILITY-1404
–
In the 1404 bug the workaround was to add the required mobility libraries (e.g. libQtContacts) to the individual application (which shouldn't be required). It almost sounds like the declarative plugins either don't correctly have the runtime dependency on the mobility libraries, or that dependency can't be resolved (wrong location, wrong names, missing dependencies of other types). I wonder if one of the sysinternals tools would help (procmon?)
I don't think this problem was present in earlier SDKs, so I do wonder what changed (toolchain? Mkspec? Linkflags etc?)
–
Attachments
Issue Links
- relates to
-
QTMOBILITY-1404 many of the Qt Mobility 1.1.1 examples are not working on the March 1st release of Qt SDK
- Open