Reply
Thread Tools
Posts: 10 | Thanked: 0 times | Joined on Apr 2011
#1
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
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#2
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?
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Posts: 10 | Thanked: 0 times | Joined on Apr 2011
#3
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?
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#4
Originally Posted by pradeep View Post
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?
Have you added mobility and location to your pro file?
Code:
CONFIG += mobility
MOBILITY = location
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Posts: 10 | Thanked: 0 times | Joined on Apr 2011
#5
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?
 
Posts: 1,048 | Thanked: 979 times | Joined on Mar 2008 @ SF Bay Area
#6
Originally Posted by pradeep View Post
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?
What target are you trying to compile on?
This is a Symbian only example.
__________________
qgvdial: Google Voice client. All downloads
qgvtp: Phone integration for the n900 that dials out and sends texts using qgvdial.
mosquitto: message broker that implements the MQ Telemetry Transport protocol version 3.
qgvnotify: Google voice and contacts notifier for diablo and maemo.

If you want to thank me, click the Thanks button.
If you'd like to thank my applications, vote to move them to extras.
 
Posts: 1 | Thanked: 0 times | Joined on Dec 2011
#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:




this is a original btscanner.pro:

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
Installation proceeded smoothly without errors on mac and ubuntu. I think I should configure something. maybe INCLUDEPATH? or DEPENDPATH?

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!
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:46.