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 }