[education/rkward] rkward/autotests: Fix compilation for KF5 < 5.53

Thomas Friedrichsmeier null at kde.org
Sun Jun 12 21:25:01 BST 2022


Git commit 8690cfac04e3c8de5e03f5cf30cdd1d529a3b265 by Thomas Friedrichsmeier.
Committed on 12/06/2022 at 20:24.
Pushed by tfry into branch 'master'.

Fix compilation for KF5 < 5.53

M  +2    -1    rkward/autotests/core_test.cpp

https://invent.kde.org/education/rkward/commit/8690cfac04e3c8de5e03f5cf30cdd1d529a3b265

diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index 3aee7d28..bb8f7f3c 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -17,6 +17,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
 
 #include "../debug.h"
 #include "../rkward.h"
+#include "../version.h"
 #include "../agents/rkquitagent.h"
 #include "../rbackend/rksessionvars.h"
 #include "../rbackend/rkrinterface.h"
@@ -80,7 +81,7 @@ private slots:
 	{
 		qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--no-sandbox"); // Allow test to be run as root, which, for some reason is being done on the SuSE CI.
 		QLoggingCategory::setFilterRules("qt.text.layout=false");  // Filter out some noise
-		KAboutData::setApplicationData(KAboutData("rkward")); // needed for .rc files to load
+		KAboutData::setApplicationData(KAboutData("rkward", "RKWard", RKWARD_VERSION, "Frontend to the R statistics language", KAboutLicense::GPL)); // component name needed for .rc files to load
 		RK_Debug::RK_Debug_Level = DL_DEBUG;
 		qDebug(R_EXECUTABLE);
 		RKSessionVars::r_binary = R_EXECUTABLE;


More information about the rkward-tracker mailing list