Qt 4.7: qstetrix.pro Example File (script/qstetrix/qstetrix.pro)

Qt Reference Documentation

# 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