Qt Reference Documentation

calculator.pro Example File

script/calculator/calculator.pro
 QT += script
 CONFIG += uitools
 RESOURCES += calculator.qrc
 SOURCES += main.cpp

 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)
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.