Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/map
diff options
context:
space:
mode:
authorSergey Yershov <yershov@corp.mail.ru>2016-06-09 17:23:55 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-06-23 19:23:39 +0300
commit9a056988c714f5c485d47b9e8271bbca50ff4a73 (patch)
tree5c776d190a99098e137d3b865ff9b57d81053327 /map
parent2e3a7709a05cad6991a62e891b45e7c22f249f5c (diff)
Fix map tests build
Diffstat (limited to 'map')
-rw-r--r--map/map_tests/map_tests.pro9
1 files changed, 8 insertions, 1 deletions
diff --git a/map/map_tests/map_tests.pro b/map/map_tests/map_tests.pro
index c7f10b8efe..25eff8d0c7 100644
--- a/map/map_tests/map_tests.pro
+++ b/map/map_tests/map_tests.pro
@@ -17,9 +17,16 @@ drape {
include($$ROOT_DIR/common.pri)
+DEFINES *= OMIM_UNIT_TEST_WITH_QT_EVENT_LOOP
+
QT *= core opengl
-linux*|win* {
+macx-* {
+ QT *= gui widgets network # needed for QApplication with event loop, to test async events (downloader, etc.)
+ LIBS *= "-framework IOKit" "-framework QuartzCore" "-framework SystemConfiguration"
+}
+
+win*|linux* {
QT *= network
}