QtMobility Reference Documentation

lightmaps.pro Example File

lightmaps/lightmaps.pro
 TEMPLATE = app
 TARGET = lightmaps_with_location

 HEADERS = satellitedialog.h \
             ../../examples/flickrdemo/connectivityhelper.h
 SOURCES = lightmaps.cpp \
             satellitedialog.cpp \
             ../../examples/flickrdemo/connectivityhelper.cpp

 QT += network

 INCLUDEPATH += ../../src/global \
                 ../../src/location \
                 ../../examples/flickrdemo

 include(../demos.pri)

 CONFIG += mobility
 MOBILITY = location

 equals(QT_MAJOR_VERSION, 4):lessThan(QT_MINOR_VERSION, 7) {
     MOBILITY += bearer
     INCLUDEPATH += ../../src/bearer
 } else {
     # use Bearer Management classes in QtNetwork module
     DEFINES += BEARER_IN_QTNETWORK
 }

 symbian|wince* {
     symbian {
         addFiles.sources = nmealog.txt
         DEPLOYMENT += addFiles
         TARGET.CAPABILITY = NetworkServices Location ReadUserData
         TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
     }
     wince*: {
         addFiles.sources = ./nmealog.txt
         addFiles.path = .
         DEPLOYMENT += addFiles
     }
 } else {
     logfile.path = $$QT_MOBILITY_DEMOS
     logfile.files = nmealog.txt
     INSTALLS += logfile
 }
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.