QtMobility Reference Documentation

cubehouse.pro Example File

sensors/cubehouse/cubehouse.pro
 TEMPLATE = app
 TARGET = cubehouse
 CONFIG += qt debug warn_on
 requires(contains(QT_CONFIG,opengl))
 QT += opengl
 include(../../mobility_examples.pri)
 CONFIG+=mobility
 MOBILITY+=sensors
 INCLUDEPATH += ../../../src/sensors
 SOURCES = \
     view.cpp \
     main.cpp \
     camera.cpp \
     light.cpp \
     lightmodel.cpp \
     material.cpp \
     painter.cpp
 HEADERS = \
     view.h \
     teapot.h \
     cube.h \
     camera.h light.h \
     lightmodel.h \
     material.h \
     painter.h
 contains(QT_CONFIG,opengles2) {
     SOURCES += painter_shader.cpp
 } else {
     SOURCES += painter_fixed.cpp
 }
 RESOURCES = cubehouse.qrc

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