QT += widgets 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]/qtscript/script/qstetrix
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qstetrix.pro *.js
sources.path = $$[QT_INSTALL_EXAMPLES]/qtscript/script/qstetrix
INSTALLS += target sources
symbian: CONFIG += qt_example
maemo5: CONFIG += qt_example
symbian: warning(This example does not work on Symbian platform)