![]() |
Qt Mobility installation in qt (Ubuntu and windows 7)
Hi,
I am trying to install qt mobility in both windows 7 and the ubuntu. I have already installed the qt sdk and now the problem is to install qt mobility addons. Here is the process - 1. In case of windows 7, I have downloaded the qt mobility latest package qt-mobility-opensource-src-1.1.1.zip. After extracting this package under the c: \ qt-mobility, I have changed the environment variable of the system. I hv appended the c:\qt-mobility\lib under the environment variable (although there is no lib folder exists in the qt-mobility-opensource-src-1.1.1.zip). After this I want to add the qt mobility path in the qt creator but I cannot find the add button. One of the website suggests - "Qt Mobility documentation in Qt Creator: Go to Tools -> Options -> Help -> Add. Then browse C:\qtmobility/doc/qch/qtmobility.qch. " Where is the add button under the help option? Can anyone please tell me? I am not even able to do this cd \qtmobility configure evertime the error message is Cannot find qmake in your PATH. Aborting. Please let me know the whole procedure for installing on the windows 7 and ubuntu I tried to configure the qt mobility folder in ubuntu but it also return this message "Cannot find qmake in your PATH. Aborting." Pardeep |
Re: Qt Mobility installation in qt (Ubuntu and windows 7)
Have you installed the Qt SDK from here? It already has QtMobility.
Why do you need to install it again? What exactly are you trying to do? |
Re: Qt Mobility installation in qt (Ubuntu and windows 7)
yes i have installed qt sdk but when i am trying to execute an application having qt mobility functionalities then it is giving errors.
such as "/src/compass-build-desktop/../compass/mainwindow.h:9: error: QGeoPositionInfo: No such file or directory" I have included the following #include <QGeoPositionInfo> but it is not recognized by the system any pointers? |
Re: Qt Mobility installation in qt (Ubuntu and windows 7)
Quote:
Code:
CONFIG += mobility |
Re: Qt Mobility installation in qt (Ubuntu and windows 7)
yes, i have included that in the pro file.
here is the link of the project https://projects.forum.nokia.com/compass if you download compass_v0_9.zip and execute it then you will see the errors? |
Re: Qt Mobility installation in qt (Ubuntu and windows 7)
Quote:
This is a Symbian only example. |
Re: Qt Mobility installation in qt (Ubuntu and windows 7)
Hi,
I have similar problem on mac and ubuntu:/ I have downloaded qt SDK and how I understand it has QtMobility, but when I try to open 'demos and examples' and run, for example "Bluetooth Scanner Example" some erros appears because program doesn't recognize some headers: http://img833.imageshack.us/img833/7293/example2q.png this is a original btscanner.pro: Quote:
if U could run this example and tell me what should I do. I 'll be very grateful. p.s. if this is an example, does not it should be configured by Trolltech, so that anyone can run it without problems? strange.. p.s2. Merry Christmas! |
All times are GMT. The time now is 10:45. |
vBulletin® Version 3.8.8