From ded46e7115cf9a3460a780f445a0c8ff22a628fa Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Mon, 2 Jul 2018 13:15:39 +0900 Subject: Provide #include back-compatibility for REGISTER_ENUM --- lib/util.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/util.h') diff --git a/lib/util.h b/lib/util.h index fbbe32b2..8c925d71 100644 --- a/lib/util.h +++ b/lib/util.h @@ -18,9 +18,11 @@ #pragma once -//#include // We're about to drop REGISTER_ENUM, -//#include // therefore these are commented out #include +#if (QT_VERSION < QT_VERSION_CHECK(5, 5, 0)) +#include +#include +#endif #include #include -- cgit v1.2.3