QtMobility Reference Documentation

hapticsplayer.pro Example File

hapticsplayer/hapticsplayer.pro
 TEMPLATE = app
 TARGET = hapticsplayer
 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 += hapticsplayer.h
 SOURCES += hapticsplayer.cpp main.cpp
 FORMS += hapticsplayer.ui

 CONFIG += mobility
 MOBILITY = feedback

 include(../mobility_examples.pri)

 symbian: {
     TARGET.CAPABILITY = WriteDeviceData ReadDeviceData
 }
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.