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:
authorDarafei Praliaskouski <komzpa@mapswith.me>2013-07-04 16:28:33 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:58:07 +0300
commita3353dbd542388b14fcb7b37f50d0b9d0ddedffd (patch)
tree52336db0a76564e4270167d901a9028b9a4fe469 /qt/main.cpp
parent2586ee90ef57e36a66b2722a6f5412455b811a66 (diff)
[qt] allow qt4 builds
Diffstat (limited to 'qt/main.cpp')
-rw-r--r--qt/main.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/qt/main.cpp b/qt/main.cpp
index 12643b229b..401a44500e 100644
--- a/qt/main.cpp
+++ b/qt/main.cpp
@@ -14,9 +14,11 @@
#include <QtCore/QLocale>
-#include <QtWidgets/QApplication>
-
-//#include <google/protobuf/stubs/common.h>
+#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
+ #include <QtGui/QApplication>
+#else
+ #include <QtWidgets/QApplication>
+#endif
namespace
{