diff --git a/modules/gui/qt/qt.hpp b/modules/gui/qt/qt.hpp index 6306a0cd792f45cdf16d04bdd610cc5620fb1648..aadb8ac50a19d7dd4c58a8829cd64279feb57b9b 100644 --- a/modules/gui/qt/qt.hpp +++ b/modules/gui/qt/qt.hpp @@ -43,8 +43,8 @@ #include <QString> #include <QUrl> -#if ( QT_VERSION < 0x050900 ) -# error Update your Qt version to at least 5.9.0 +#if ( QT_VERSION < QT_VERSION_CHECK(5, 11, 0) ) +# error Update your Qt version to at least 5.11.0 #endif #define HAS_QT510 ( QT_VERSION >= 0x051000 )