View Single Post
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!