QtMobility Reference Documentation

hapticsquare.pro Example File

hapticsquare/hapticsquare.pro
 TEMPLATE = app
 TARGET = hapticsquare
 DEPENDPATH += .
 INCLUDEPATH += . $$QT_MOBILITY_SOURCE_TREE/src/feedback

 #
 # mobility.prf should do this (since it's platform and release/debug dependent,
 # it can't just be -lQtFeedback (might QtFeedback1, QtFeedbackd, QtFeedback1d etc)
 #
 # if it isn't doing it, mobility.prf is probably not in the right place
 #
 # LIBS += -lQtFeedback

 # Input
 HEADERS += hapticsquare.h \
     hapticbutton.h
 SOURCES += hapticsquare.cpp main.cpp \
     hapticbutton.cpp

 CONFIG += mobility
 MOBILITY = feedback

 symbian: {
      TARGET.CAPABILITY = WriteDeviceData ReadDeviceData
 }

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