diff --git a/src/libs/vmisc/defglobal.h b/src/libs/vmisc/defglobal.h index e8d0bb80b..2314093d0 100644 --- a/src/libs/vmisc/defglobal.h +++ b/src/libs/vmisc/defglobal.h @@ -35,7 +35,7 @@ #define PRINTDPI 96.0 extern const qreal PrintDPI; -#if QT_VERSION <= QT_VERSION_CHECK(5, 7, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 7, 0) // this adds const to non-const objects (like std::as_const) template Q_DECL_CONSTEXPR typename std::add_const::type &qAsConst(T &t) Q_DECL_NOTHROW { return t; }