QtMobility Reference Documentation

battery-publisher.pro Example File

battery-charge/battery-publisher/battery-publisher.pro
 TEMPLATE = app
 TARGET = battery-publisher
 INCLUDEPATH += ../../../src/publishsubscribe
 DEPENDPATH += ../../../src/publishsubscribe

 HEADERS = batterypublisher.h

 SOURCES = main.cpp \
           batterypublisher.cpp

 FORMS = batterypublisher.ui

 include(../../mobility_examples.pri)
 CONFIG += mobility
 MOBILITY = publishsubscribe

 symbian: {
     TARGET.UID3 = 0xE0000010
     crmlFiles.sources = power.battery.qcrml
     crmlFiles.path = /resource/qt/crml
     DEPLOYMENT += crmlFiles
 }

 contains(MEEGO_EDITION,harmattan) {

     target.path = /opt/battery-publisher/bin
     INSTALLS += target

     contextreg.files = com.qt.powerbattery.context
     contextreg.path = /usr/share/contextkit/providers
     INSTALLS += contextreg

 }

 OTHER_FILES += \
     com.qt.powerbattery.context
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.