summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/auto.pro4
-rw-r--r--tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro4
2 files changed, 2 insertions, 6 deletions
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 3b7c032e..50483a40 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -52,6 +52,4 @@ SUBDIRS += geotestplugin \
!mac: SUBDIRS += declarative_ui
-contains(config_test_jsondb, yes) {
- SUBDIRS += qplacemanager_jsondb
-}
+!isEmpty(QT.jsondb.name):SUBDIRS += qplacemanager_jsondb
diff --git a/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro b/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro
index 4f57582e..93e8880a 100644
--- a/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro
+++ b/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro
@@ -11,6 +11,4 @@ HEADERS += testqgeosatelliteinfosource_p.h \
QT += location testlib
-contains(config_test_jsondb, yes): contains(config_test_mtclient, yes) {
- DEFINES += NPE_BACKEND
-}
+!isEmpty(QT.jsondb.name):!isEmpty(QT.jsonstream.name):!simulator:DEFINES += NPE_BACKEND