- Qt 5.0
- Haptic Square Example
- Qt 5.0.0 Reference Documentation

# Haptic Square Example

     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

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

     CONFIG = feedback

     include(../examples.pri)