[rkward/frameworks] rkward/rbackend: Fix build for earlier versions of frameworks, too.

Thomas Friedrichsmeier null at kde.org
Thu Jun 8 13:35:09 UTC 2017


Git commit 19a19e89a1cd0e1ca9db47557ac54ddb9f74d1cd by Thomas Friedrichsmeier.
Committed on 08/06/2017 at 13:34.
Pushed by tfry into branch 'frameworks'.

Fix build for earlier versions of frameworks, too.

M  +3    -1    rkward/rbackend/rksessionvars.cpp

https://commits.kde.org/rkward/19a19e89a1cd0e1ca9db47557ac54ddb9f74d1cd

diff --git a/rkward/rbackend/rksessionvars.cpp b/rkward/rbackend/rksessionvars.cpp
index ffa66fbd..220bc427 100644
--- a/rkward/rbackend/rksessionvars.cpp
+++ b/rkward/rbackend/rksessionvars.cpp
@@ -22,8 +22,10 @@
 #include "../settings/rksettingsmodulegeneral.h"
 #include "../version.h"
 
-#include <kcoreaddons.h>
 #include <kcoreaddons_version.h>
+#if KCOREADDONS_VERSION >= QT_VERSION_CHECK(5,20,0)
+#include <kcoreaddons.h>
+#endif
 
 #include <QTemporaryFile>
 #include <QStandardPaths>



More information about the rkward-tracker mailing list