MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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
 }