aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/macfunctions/macfunctions.pro14
-rw-r--r--tests/tests.pro2
2 files changed, 5 insertions, 11 deletions
diff --git a/tests/auto/macfunctions/macfunctions.pro b/tests/auto/macfunctions/macfunctions.pro
index c34a9ed..eee725f 100644
--- a/tests/auto/macfunctions/macfunctions.pro
+++ b/tests/auto/macfunctions/macfunctions.pro
@@ -1,12 +1,6 @@
-QT += testlib
-
+CONFIG += testcase console
+CONFIG -= app_bundle
TARGET = tst_qtmacfunctions
-CONFIG += console
-CONFIG -= app_bundle
-
-TEMPLATE = app
-
-include (../../../src/qtmacextras.pri)
-
-OBJECTIVE_SOURCES += $$PWD/tst_qtmacfunctions.mm
+QT += macextras widgets testlib
+OBJECTIVE_SOURCES += tst_qtmacfunctions.mm
LIBS *= -framework AppKit
diff --git a/tests/tests.pro b/tests/tests.pro
index 7fbc8a9..77383dc 100644
--- a/tests/tests.pro
+++ b/tests/tests.pro
@@ -1,2 +1,2 @@
TEMPLATE = subdirs
-SUBDIRS = auto
+macx:!ios:SUBDIRS = auto