Files
Radium_Nix/qt_paths.patch

58 lines
1.8 KiB
Diff

--- source/Qt/Qt_Error.cpp.orig 2026-01-11 12:48:06.113043420 +0100
+++ source/Qt/Qt_Error.cpp 2026-01-11 12:52:51.018629214 +0100
@@ -154,13 +154,13 @@
#if FOR_LINUX
bool faulty_installation = false;
- if(getenv("QT_QPA_PLATFORM_PLUGIN_PATH")==NULL){
- faulty_installation = true;
- }else{
- QCoreApplication::setLibraryPaths(QStringList());
- }
-#else
- QCoreApplication::setLibraryPaths(QStringList());
+// if(getenv("QT_QPA_PLATFORM_PLUGIN_PATH")==NULL){
+// faulty_installation = true;
+// }else{
+// QCoreApplication::setLibraryPaths(QStringList());
+// }
+// #else
+// QCoreApplication::setLibraryPaths(QStringList());
#endif
QLocale::setDefault(QLocale::c());
--- source/Qt/Qt_Main.cpp.orig 2026-01-11 15:02:21.914136144 +0100
+++ source/Qt/Qt_Main.cpp 2026-01-11 15:03:01.648750430 +0100
@@ -4845,7 +4845,7 @@
qInstallMsgHandler(myMessageOutput);
#endif
- QCoreApplication::setLibraryPaths(QStringList());
+ // QCoreApplication::setLibraryPaths(QStringList());
//QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity);
--- source/crashreporter/crashreporter.cpp.orig 2026-01-11 15:05:02.946438250 +0100
+++ source/crashreporter/crashreporter.cpp 2026-01-11 15:01:35.600732162 +0100
@@ -599,13 +599,13 @@
#if FOR_LINUX
bool faulty_installation = false;
- if(getenv("QT_QPA_PLATFORM_PLUGIN_PATH")==NULL){
- faulty_installation = true;
- }else{
- QCoreApplication::setLibraryPaths(QStringList());
- }
-#else
- QCoreApplication::setLibraryPaths(QStringList());
+// if(getenv("QT_QPA_PLATFORM_PLUGIN_PATH")==NULL){
+// faulty_installation = true;
+// }else{
+// QCoreApplication::setLibraryPaths(QStringList());
+// }
+// #else
+// QCoreApplication::setLibraryPaths(QStringList());
#endif
QLocale::setDefault(QLocale::c());