summarylogtreecommitdiffstats
path: root/dont-empty-qt-library-paths.patch
blob: f776e64fb500107ca92ddfdaf57b4abe5319afd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -aur --no-dereference package.pristine/Qt/Qt_Error.cpp package.new/Qt/Qt_Error.cpp
--- package.pristine/Qt/Qt_Error.cpp	2017-04-08 14:45:26.000000000 +0200
+++ package.new/Qt/Qt_Error.cpp	2017-04-11 19:26:40.613065282 +0200
@@ -77,9 +77,9 @@
   if(getenv("QT_QPA_PLATFORM_PLUGIN_PATH")==NULL){
     faulty_installation = true;
   }else
-    QCoreApplication::setLibraryPaths(QStringList());    
+    //QCoreApplication::setLibraryPaths(QStringList());    
 #else
-  QCoreApplication::setLibraryPaths(QStringList());
+  //QCoreApplication::setLibraryPaths(QStringList());
 #endif
 
   QApplication app(argc,argv);
diff -aur --no-dereference package.pristine/Qt/Qt_Main.cpp package.new/Qt/Qt_Main.cpp
--- package.pristine/Qt/Qt_Main.cpp	2017-04-08 14:45:26.000000000 +0200
+++ package.new/Qt/Qt_Main.cpp	2017-04-11 19:25:31.886938780 +0200
@@ -2623,7 +2623,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	2017-04-08 14:45:26.000000000 +0200
+++ package.new/crashreporter/crashreporter.cpp	2017-04-11 19:27:08.169515448 +0200
@@ -407,9 +407,9 @@
   if(getenv("QT_QPA_PLATFORM_PLUGIN_PATH")==NULL){
     faulty_installation = true;
   }else
-    QCoreApplication::setLibraryPaths(QStringList());    
+    //QCoreApplication::setLibraryPaths(QStringList());    
 #else
-  QCoreApplication::setLibraryPaths(QStringList());
+  //QCoreApplication::setLibraryPaths(QStringList());
 #endif
   
   QApplication app(argc,argv);