From e7b89e61e8f2ed197c5168051efbe98c9fe5c4db Mon Sep 17 00:00:00 2001 From: zneix Date: Sat, 31 Jul 2021 22:32:47 +0200 Subject: [PATCH] Move QAction to QtGui on Qt6 Reference: - https://doc.qt.io/qt-6/widgets-changes-qt6.html#qaction-qactiongroup --- src/PrecompiledHeader.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/PrecompiledHeader.hpp b/src/PrecompiledHeader.hpp index fea276d09..2235f3ef2 100644 --- a/src/PrecompiledHeader.hpp +++ b/src/PrecompiledHeader.hpp @@ -107,7 +107,11 @@ # include # include # include -# include +# if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) +# include +# else +# include +# endif # include # include # include