[education/rkward] rkward: Fix compilation on Mac
Thomas Friedrichsmeier
null at kde.org
Sun Apr 27 11:30:31 BST 2025
Git commit c8f20b2094fff064eb72bb77ab1ea12dc8adc421 by Thomas Friedrichsmeier.
Committed on 27/04/2025 at 10:30.
Pushed by tfry into branch 'master'.
Fix compilation on Mac
M +1 -1 rkward/main.cpp
https://invent.kde.org/education/rkward/-/commit/c8f20b2094fff064eb72bb77ab1ea12dc8adc421
diff --git a/rkward/main.cpp b/rkward/main.cpp
index 30b66a75c..e4740a9e5 100644
--- a/rkward/main.cpp
+++ b/rkward/main.cpp
@@ -225,7 +225,7 @@ int main (int argc, char *argv[]) {
if (!oldpath.contains(QStringLiteral(INSTALL_PATH))) {
//ensure that PATH is set to include what we deliver with the bundle
qputenv("PATH", QStringLiteral("%1/bin:%1/sbin:%2").arg(QStringLiteral(INSTALL_PATH)).arg(oldpath).toLocal8Bit());
- if (RK_Debug::RK_Debug_Level > 3) qDebug("Adjusting system path to %s", qPrintable(qgetenv("PATH")));
+ if (RK_Debug::RK_Debug_Level > 3) qDebug("Adjusting system path to %s", qPrintable(QString::fromLocal8Bit(qgetenv("PATH"))));
}
#elif defined(Q_OS_UNIX)
QStringList data_dirs = QString::fromLocal8Bit(qgetenv("XDG_DATA_DIRS")).split(PATH_VAR_SEP);
More information about the rkward-tracker
mailing list