summaryrefslogtreecommitdiffstats
path: root/examples/script/calculator/calculator.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/script/calculator/calculator.pro')
-rw-r--r--examples/script/calculator/calculator.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/script/calculator/calculator.pro b/examples/script/calculator/calculator.pro
new file mode 100644
index 0000000000..734078ced2
--- /dev/null
+++ b/examples/script/calculator/calculator.pro
@@ -0,0 +1,14 @@
+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
+
+include($$QT_SOURCE_TREE/examples/examplebase.pri)