diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-04-04 10:26:12 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-04 12:18:02 +0200 |
commit | 11140e6cb085836255877e141e0a32d61f679b7b (patch) | |
tree | 812f3285853e2c269e0676103cbba72adeb69c63 /tests | |
parent | 99a143ee850e1cb6de007348fb18d8dfe35682b0 (diff) | |
download | qtlocation-11140e6cb085836255877e141e0a32d61f679b7b.tar.gz |
Simplify the detection of a QtSimulator build
We don't need the cumbersome CONFIG+=simulator flag. Now we automatically
build it.
Change-Id: Iab20816856ec1d79965b980a17e668d04d3d9258
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qgeosatelliteinfosource/qgeosatelliteinfosource.pro | 2 |
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 |