summaryrefslogtreecommitdiffstats
path: root/examples/ipc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ipc')
-rw-r--r--examples/ipc/ipc.pro2
-rw-r--r--examples/ipc/sharedmemory/sharedmemory.pro4
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/ipc/ipc.pro b/examples/ipc/ipc.pro
index ba3990d869..ffa313beef 100644
--- a/examples/ipc/ipc.pro
+++ b/examples/ipc/ipc.pro
@@ -2,5 +2,3 @@ TEMPLATE = subdirs
# no QSharedMemory
!vxworks:!qnx:SUBDIRS = sharedmemory
!wince*: SUBDIRS += localfortuneserver localfortuneclient
-
-QT += widgets
diff --git a/examples/ipc/sharedmemory/sharedmemory.pro b/examples/ipc/sharedmemory/sharedmemory.pro
index f6f2fc3c42..0d25a30b1b 100644
--- a/examples/ipc/sharedmemory/sharedmemory.pro
+++ b/examples/ipc/sharedmemory/sharedmemory.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
SOURCES += main.cpp \
dialog.cpp
@@ -12,6 +14,4 @@ EXAMPLE_FILES = *.png
target.path = $$[QT_INSTALL_EXAMPLES]/ipc/sharedmemory
INSTALLS += target
-QT += widgets
-
simulator: warning(This example does not work on Simulator platform)