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

|  | Home · All Classes · Overviews |

# qstetrix.pro Example File
script/qstetrix/qstetrix.pro

     QT += script
     CONFIG += uitools

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

     FORMS   = tetrixwindow.ui
     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