How to use/configure qt mobility
-
Hi,
I have got the following project from qt home.This project uses qt mobility APIs, while compiling it doesn't give any errors but when tried to launch in emulator it gives errors as "dlls" related to qt mobilitity are missing.
I have the latest -QT- Qt sdk 1.1 and qt mobility APIs are in place.
can you please help how i need to configure my pc to use qt mobility APIs -
Hi,
I went through the installation guide which says, " i need to download qt mobility " project , build and then configure.
but since I installed qt 1.1 , I already have all these components, I need to just set the right path and configure it.
Can you please tell me how this can be done.Regards,
Vijay -
Hi Vijay, what do you mean by "but since I installed qt 1.1 , I already have all these components". I remember the SDK doesn't have Qt Mobility's source code.
Anyway, check the folder "QtSDK\Simulator" to see if you have one in the right place. Also "QtSDK\Simulator\QtMobility\mingw\lib" to check the dlls.
Br
-
Hi Chuck,
Thanks a lot for your reply, yes as you say, there is no Qt Mobility’s source code.What i have is this.
-
@ path "C:\QtSDK\Simulator\QtMobility\mingw"
I have 3 folders, bin, include, and lib -
folder "bin" has " some exe files"
-
folder "include" has " qt module folders, inside which there are header files"
-
LIB folder has " dlls of all the modules and perl files "..
With this in background I have following questions.
-
Why qt mobility apps just won't pick these dlls.
-
I created a simple app to use qt mobility api's specifically "Sensor" module.
-
in pro file i added include path as " INCLUDEPATH += C:\QtSDK\Simulator\QtMobility\mingw\include\QtSensors" and in header file " #include <qsensor.h> "
-
In cpp file intelligence show me qtsensor class automatically, when i tried to write below statement.
QSensor* sn = new QSensor(NULL); -
but after compiling i get an error saying " Qsensor was not declared in this scope", why is this error when header file is included successfully.
I know surely I'm missing something, could you please tell me what is it.
Also as you have said in your previous post " I need to build qt mobility ", can you please tell me what steps to be followed, and from where qt mobility source code can be downloaded.
Thanks in advance , hoping for a positive reply.
Regards,
Vijay. -
-
Hi,
Thanks to all, I could configure and run qt mobility.Regards,
Vijay.