aboutsummaryrefslogtreecommitdiff
path: root/examples/sending_arguments/sending_arguments.pro
diff options
context:
space:
mode:
authorItay Grudev <itay@grudev.com>2016-08-10 02:43:52 +0100
committerItay Grudev <itay@grudev.com>2016-08-10 03:43:06 +0100
commit596cf23bae223d043daf57dcb7b118e149d488e6 (patch)
treef7ea062970a6fd68a1f245756e5a0ad3d1194f42 /examples/sending_arguments/sending_arguments.pro
parentAdded a basic usage example (diff)
downloadsingleapplication-596cf23bae223d043daf57dcb7b118e149d488e6.tar.xz
Added an example of an application sending it's arguments to the primary instance
Diffstat (limited to 'examples/sending_arguments/sending_arguments.pro')
-rwxr-xr-xexamples/sending_arguments/sending_arguments.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/sending_arguments/sending_arguments.pro b/examples/sending_arguments/sending_arguments.pro
new file mode 100755
index 0000000..897636a
--- /dev/null
+++ b/examples/sending_arguments/sending_arguments.pro
@@ -0,0 +1,9 @@
+# Single Application implementation
+include(../../singleapplication.pri)
+DEFINES += QAPPLICATION_CLASS=QCoreApplication
+
+SOURCES += main.cpp \
+ messagereceiver.cpp
+
+HEADERS += \
+ messagereceiver.h