Hello,
I've installed QtMobility by folowing this
tutorial, but when I try to lauch the project, I've got this error :
|
Source code
|
1
2
3
|
Starting F:\project\src\project-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\debug\project.exe...
qrc:/qml/project/main.qml:3:1: module "QtMobility.contacts" is not installedThe program has unexpectedly finished.
F:\project\src\project-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\debug\project.exe exited with code -1073741819
|
I've added these folowing lines to the project.pro :
|
Source code
|
1
2
|
CONFIG += mobility
MOBILITY += contacts
|
and in the main.qml :
|
Source code
|
1
|
import QtQuick 1.0import QtMobility.contacts 1.1
|
QtMobility libraries, and more specifically QtContactsd.dll are in the right folder, and the path to the lib is added into the environnement variable "path" in windows.
I've made some research on the web before posting here, but this problem seems not to be resolved or even known :
https://bugreports.qt.nokia.com/browse/QTMOBILITY-1414]
Thanks for your help.
EDIT : Config : windows 7 x64
QtCreator 2.3.1
Qt 4.7.4 x32
QtMobility 1.2.0