You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Thursday, October 27th 2011, 10:25am

Installing QtMobility modules


I've installed QtMobility by folowing this tutorial, but when I try to lauch the project, I've got this error :

Source code

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 :

Source code

CONFIG += mobility
MOBILITY += contacts

and in the main.qml :

Source code

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 :]

Thanks for your help.

EDIT : Config : windows 7 x64
QtCreator 2.3.1
Qt 4.7.4 x32
QtMobility 1.2.0

Similar threads