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 'qt_tstfrm')
-rw-r--r--qt_tstfrm/gl_test_widget.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/qt_tstfrm/gl_test_widget.hpp b/qt_tstfrm/gl_test_widget.hpp
index fc9ca7e89b..4f1cad4a9c 100644
--- a/qt_tstfrm/gl_test_widget.hpp
+++ b/qt_tstfrm/gl_test_widget.hpp
@@ -6,8 +6,11 @@
#include "../../map/qgl_render_context.hpp"
-#include <QtWidgets/QApplication>
-
+#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
+ #include <QtGui/QApplication>
+#else
+ #include <QtWidgets/QApplication>
+#endif
template<class T, bool (T::*)(QKeyEvent *)>
struct key_event_fn_bind