Qt Mobility Reference Documentation

mapviewer.pro Example File

mapviewer/mapviewer.pro
 QT += xml network svg
 TARGET = MapViewer
 TEMPLATE = app
 INCLUDEPATH += ../../src/global \
                ../../src/location \
                ../../src/location/maps
 SOURCES += main.cpp \
            mapwidget.cpp \
            mainwindow.cpp

 HEADERS += mapwidget.h \
            mainwindow.h

 include(../mobility_examples.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
 }

 symbian: {
     TARGET.CAPABILITY = Location \
                         NetworkServices \
                         ReadUserData \
                         WriteUserData \
                         ReadDeviceData \
                         WriteDeviceData
 }
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.