aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.h6
1 files changed, 4 insertions, 2 deletions
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 <QtCore/QMetaEnum> // We're about to drop REGISTER_ENUM,
-//#include <QtCore/QDebug> // therefore these are commented out
#include <QtCore/QPointer>
+#if (QT_VERSION < QT_VERSION_CHECK(5, 5, 0))
+#include <QtCore/QMetaEnum>
+#include <QtCore/QDebug>
+#endif
#include <functional>
#include <memory>