summaryrefslogtreecommitdiff
path: root/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro')
-rw-r--r--tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro b/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro
index ea6c929f..1fb72da7 100644
--- a/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro
+++ b/tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro
@@ -13,5 +13,5 @@ QT += positioning testlib
# Define whether a satellite source is available. This must match the logic in
# src/location/location.pro or the test will fail on some platforms.
-simulator:DEFINES += SATELLITE_SOURCE_AVAILABLE
+qtHaveModule(simulator):DEFINES += SATELLITE_SOURCE_AVAILABLE
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0