Qt Reference Documentation

# qscript.pro Example File

script/qscript/qscript.pro

     QT += script
     win32: CONFIG += console
     mac:CONFIG -= app_bundle

     SOURCES += main.cpp

     include(../customclass/bytearrayclass.pri)

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/script/qscript
     sources.files = $$RESOURCES $$FORMS main.cpp qscript.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/script/qscript
     INSTALLS += target sources

     symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)

     symbian: warning(This example does not work on Symbian platform)