summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/testapp/testapp.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/testapp/testapp.pro b/examples/testapp/testapp.pro
index 418d582ca..4b2e622df 100644
--- a/examples/testapp/testapp.pro
+++ b/examples/testapp/testapp.pro
@@ -4,6 +4,10 @@ TARGET = testapp
include(../../installerfw.pri)
+isEqual(QT_MAJOR_VERSION, 5) {
+ QT += widgets
+}
+
!static {
warning("You can use this example only with a static build of Qt and IFW!")
}