From 699a1cb9787916b2444468edcc994841f3a6457e Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Wed, 10 Aug 2016 02:50:22 +0100 Subject: 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. --- examples/calculator/calculator.pro | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/calculator/calculator.pro (limited to 'examples/calculator/calculator.pro') 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 -- cgit v1.2.1