MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

qstetrix.pro Example File

script/qstetrix/qstetrix.pro
 QT += script
 CONFIG += uitools

 HEADERS = tetrixboard.h
 SOURCES = main.cpp \
           tetrixboard.cpp

 RESOURCES = tetrix.qrc

 contains(QT_CONFIG, scripttools): QT += scripttools

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/script/qstetrix
 sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qstetrix.pro *.js
 sources.path = $$[QT_INSTALL_EXAMPLES]/script/qstetrix
 INSTALLS += target sources