Qt 4.8: calculator.pro Example File (script/calculator/calculator.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# calculator.pro Example File

script/calculator/calculator.pro

     QT += script
     CONFIG += uitools
     RESOURCES += calculator.qrc
     SOURCES += main.cpp
     QMAKE_PROJECT_NAME = scripted_calculator

     contains(QT_CONFIG, scripttools): QT += scripttools

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/script/calculator
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro *.js *.ui
     sources.path = $$[QT_INSTALL_EXAMPLES]/script/calculator
     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)