From de618ebb58b78b244ef7e9521cde9e95c4153360 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Sun, 1 Oct 2017 21:07:30 +0300 Subject: [PATCH] Qt 5.8+ build fixed --- include/lrglobal.h | 3 +++ limereport/lrglobal.h | 3 +++ 2 files changed, 6 insertions(+) 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: