![]() |
2011-04-19
, 04:45
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#2
|
![]() |
2011-04-19
, 06:09
|
Posts: 10 |
Thanked: 0 times |
Joined on Apr 2011
|
#3
|
![]() |
2011-04-19
, 06:45
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#4
|
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?
CONFIG += mobility MOBILITY = location
![]() |
2011-04-19
, 06:55
|
Posts: 10 |
Thanked: 0 times |
Joined on Apr 2011
|
#5
|
![]() |
2011-04-19
, 15:49
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#6
|
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?
![]() |
2011-12-24
, 13:28
|
Posts: 1 |
Thanked: 0 times |
Joined on Dec 2011
|
#7
|
TARGET = btscanner
INCLUDEPATH += ../../src/connectivity/bluetooth
DEPENDPATH += ../../src/connectivity/bluetooth
include(../mobility_examples.pri)
CONFIG += mobility
MOBILITY = connectivity
TEMPLATE = app
SOURCES = \
main.cpp \
device.cpp \
service.cpp
HEADERS = \
device.h \
service.h
FORMS = \
device.ui \
service.ui
symbian {
TARGET.CAPABILITY = ReadDeviceData LocalServices WriteDeviceData
}
OTHER_FILES += \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/manifest.aegis \
qtc_packaging/debian_harmattan/copyright \
qtc_packaging/debian_harmattan/control \
qtc_packaging/debian_harmattan/compat \
qtc_packaging/debian_harmattan/changelog
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