diff --git a/include/lrglobal.h b/include/lrglobal.h index 4b20774..b324900 100644 --- a/include/lrglobal.h +++ b/include/lrglobal.h @@ -157,6 +157,9 @@ namespace Const{ typedef QScriptValue ScriptValueType; #endif +#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0) + Q_NAMESPACE +#endif class Enums { public: diff --git a/limereport/lrglobal.h b/limereport/lrglobal.h index 4b20774..b324900 100644 --- a/limereport/lrglobal.h +++ b/limereport/lrglobal.h @@ -157,6 +157,9 @@ namespace Const{ typedef QScriptValue ScriptValueType; #endif +#if QT_VERSION >= QT_VERSION_CHECK(5, 8, 0) + Q_NAMESPACE +#endif class Enums { public: