summarylogtreecommitdiffstats
path: root/dont-empty-qt-library-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dont-empty-qt-library-paths.patch')
-rw-r--r--dont-empty-qt-library-paths.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dont-empty-qt-library-paths.patch b/dont-empty-qt-library-paths.patch
new file mode 100644
index 000000000000..5a8e4ca9fb83
--- /dev/null
+++ b/dont-empty-qt-library-paths.patch
@@ -0,0 +1,36 @@
+diff -aur --no-dereference package.pristine/Qt/Qt_Error.cpp package.new/Qt/Qt_Error.cpp
+--- package.pristine/Qt/Qt_Error.cpp 2016-10-29 19:20:29.405129735 +0200
++++ package.new/Qt/Qt_Error.cpp 2016-10-29 19:21:28.281368400 +0200
+@@ -63,7 +63,7 @@
+ QSplashScreen *g_splashscreen = NULL; // referenced by helpers.h
+
+ int main(int argc, char **argv){
+- QCoreApplication::setLibraryPaths(QStringList());
++ //QCoreApplication::setLibraryPaths(QStringList());
+
+ QApplication app(argc,argv);
+ int ret = show_message(argv[1]);
+diff -aur --no-dereference package.pristine/Qt/Qt_Main.cpp package.new/Qt/Qt_Main.cpp
+--- package.pristine/Qt/Qt_Main.cpp 2016-10-29 19:20:29.405129735 +0200
++++ package.new/Qt/Qt_Main.cpp 2016-10-29 19:21:07.024856269 +0200
+@@ -2274,7 +2274,7 @@
+ qInstallMsgHandler(myMessageOutput);
+ #endif
+
+- QCoreApplication::setLibraryPaths(QStringList());
++ //QCoreApplication::setLibraryPaths(QStringList());
+
+ QCoreApplication::setAttribute(Qt::AA_X11InitThreads);
+
+diff -aur --no-dereference package.pristine/crashreporter/crashreporter.cpp package.new/crashreporter/crashreporter.cpp
+--- package.pristine/crashreporter/crashreporter.cpp 2016-10-29 19:20:29.541795408 +0200
++++ package.new/crashreporter/crashreporter.cpp 2016-10-29 19:20:46.425006019 +0200
+@@ -395,7 +395,7 @@
+
+ int main(int argc, char **argv){
+
+- QCoreApplication::setLibraryPaths(QStringList());
++ //QCoreApplication::setLibraryPaths(QStringList());
+
+ QApplication app(argc,argv);
+