diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-10-27 12:40:02 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:27:01 +0300 |
commit | 951ad62f0e505e25ebd664c5e1e10d2951d9ded1 (patch) | |
tree | 415fbb5aba32b037392d3323d0e30e5a8467022e /platform/platform_tests | |
parent | de210c44b41699e0d687b3c3f271e43f57eca60c (diff) |
[qt] Removed unnecessary dependencies
Diffstat (limited to 'platform/platform_tests')
-rw-r--r-- | platform/platform_tests/platform_tests.pro | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/platform/platform_tests/platform_tests.pro b/platform/platform_tests/platform_tests.pro index 0bc18cf5fa..1748f65b66 100644 --- a/platform/platform_tests/platform_tests.pro +++ b/platform/platform_tests/platform_tests.pro @@ -12,13 +12,19 @@ INCLUDEPATH *= $$ROOT_DIR/3party/jansson/src DEFINES *= OMIM_UNIT_TEST_WITH_QT_EVENT_LOOP -QT *= core network +QT *= core win32* { LIBS *= -lShell32 win32-g++: LIBS *= -lpthread } -macx*: LIBS *= "-framework Foundation" "-framework IOKit" +macx* { + QT *= gui # needed for QApplication with event loop, to test async events (downloader, etc.) + LIBS *= "-framework Foundation" "-framework IOKit" +} +win32*:linux* { + QT *= network +} SOURCES += \ ../../testing/testingmain.cpp \ |