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
diff options
context:
space:
mode:
Diffstat (limited to 'testing/testingmain.cpp')
-rw-r--r--testing/testingmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/testingmain.cpp b/testing/testingmain.cpp
index 24726f1384..a8d484b6f9 100644
--- a/testing/testingmain.cpp
+++ b/testing/testingmain.cpp
@@ -21,7 +21,7 @@
# include "platform/platform.hpp"
#endif
-#ifdef OMIM_UNIT_TEST_WITH_QT_EVENT_LOOP
+#if defined(OMIM_UNIT_TEST_WITH_QT_EVENT_LOOP) && !defined(OMIM_OS_IPHONE)
#include <QtCore/Qt>
#ifdef OMIM_OS_MAC // on Mac OS X native run loop works only for QApplication :(
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
@@ -133,7 +133,7 @@ CommandLineOptions const & GetTestingOptions()
int main(int argc, char * argv[])
{
-#ifdef OMIM_UNIT_TEST_WITH_QT_EVENT_LOOP
+#if defined(OMIM_UNIT_TEST_WITH_QT_EVENT_LOOP) && !defined(OMIM_OS_IPHONE)
QAPP theApp(argc, argv);
UNUSED_VALUE(theApp);
#else