summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/echoplugin
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/tools/echoplugin')
-rw-r--r--examples/widgets/tools/echoplugin/echowindow/echowindow.pro4
-rw-r--r--examples/widgets/tools/echoplugin/plugin/plugin.pro3
2 files changed, 3 insertions, 4 deletions
diff --git a/examples/widgets/tools/echoplugin/echowindow/echowindow.pro b/examples/widgets/tools/echoplugin/echowindow/echowindow.pro
index cd91693ec0..c8dc000678 100644
--- a/examples/widgets/tools/echoplugin/echowindow/echowindow.pro
+++ b/examples/widgets/tools/echoplugin/echowindow/echowindow.pro
@@ -1,3 +1,5 @@
+QT += widgets
+
HEADERS = echowindow.h \
echointerface.h
SOURCES = echowindow.cpp \
@@ -16,6 +18,4 @@ win32 {
target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin
INSTALLS += target
-QT += widgets
-
simulator: warning(This example might not fully work on Simulator platform)
diff --git a/examples/widgets/tools/echoplugin/plugin/plugin.pro b/examples/widgets/tools/echoplugin/plugin/plugin.pro
index a586130b76..235358d52c 100644
--- a/examples/widgets/tools/echoplugin/plugin/plugin.pro
+++ b/examples/widgets/tools/echoplugin/plugin/plugin.pro
@@ -1,6 +1,7 @@
#! [0]
TEMPLATE = lib
CONFIG += plugin
+QT += widgets
INCLUDEPATH += ../echowindow
HEADERS = echoplugin.h
SOURCES = echoplugin.cpp
@@ -13,5 +14,3 @@ EXAMPLE_FILES = echoplugin.json
# install
target.path = $$[QT_INSTALL_EXAMPLES]/tools/echoplugin/plugin
INSTALLS += target
-
-QT += widgets