aboutsummaryrefslogtreecommitdiff
path: root/examples/calculator/calculator.pro
diff options
context:
space:
mode:
authorItay Grudev <itay@grudev.com>2016-08-10 02:50:22 +0100
committerItay Grudev <itay@grudev.com>2016-08-10 03:43:15 +0100
commit699a1cb9787916b2444468edcc994841f3a6457e (patch)
tree46106b191fb964b7ff243594650224f2808ef8e3 /examples/calculator/calculator.pro
parentAdded an example of an application sending it's arguments to the primary inst... (diff)
downloadsingleapplication-699a1cb9787916b2444468edcc994841f3a6457e.tar.xz
Added an example of an application raising the primary instance window
This example uses the Qt Calculator example released under the BSD license. Noted the license difference in the `README.md` and `LICENSE` files.
Diffstat (limited to 'examples/calculator/calculator.pro')
-rw-r--r--examples/calculator/calculator.pro11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/calculator/calculator.pro b/examples/calculator/calculator.pro
new file mode 100644
index 0000000..8f13260
--- /dev/null
+++ b/examples/calculator/calculator.pro
@@ -0,0 +1,11 @@
+QT += widgets
+
+HEADERS = button.h \
+ calculator.h
+SOURCES = button.cpp \
+ calculator.cpp \
+ main.cpp
+
+# Single Application implementation
+include(../../singleapplication.pri)
+DEFINES += QAPPLICATION_CLASS=QApplication