From a3353dbd542388b14fcb7b37f50d0b9d0ddedffd Mon Sep 17 00:00:00 2001 From: Darafei Praliaskouski Date: Thu, 4 Jul 2013 15:28:33 +0300 Subject: [qt] allow qt4 builds --- qt_tstfrm/gl_test_widget.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'qt_tstfrm') 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 - +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) + #include +#else + #include +#endif template struct key_event_fn_bind -- cgit v1.2.3