File djv-runtime_paths.patch of Package djv (Revision 2fea5ef395b81a5013960df8f9862ee6)

Currently displaying revision 2fea5ef395b81a5013960df8f9862ee6 , Show latest

33
 
1
--- a/lib/djvCore/djvSystem.cpp
2
+++ b/lib/djvCore/djvSystem.cpp
3
@@ -318,8 +318,7 @@ QStringList djvSystem::searchPath()
4
     
5
     // Add library and translation paths.
6
 
7
-    out += QDir(applicationPath + "/../lib").absolutePath();
8
-    out += QDir(applicationPath + "/../translations").absolutePath();
9
+    out += QDir(applicationPath + "/translations").absolutePath();
10
 
11
 #if defined(DJV_WINDOWS) || defined(DJV_OSX)
12
 
13
@@ -330,19 +329,6 @@ QStringList djvSystem::searchPath()
14
 
15
 #endif
16
 
17
-    // Add the build directories.
18
-    
19
-    out += QDir("lib/djvCore").absolutePath();
20
-    out += QDir("lib/djvGui").absolutePath();
21
-    out += QDir("lib/djvViewLib").absolutePath();
22
-    out += QDir("bin/djv_ls").absolutePath();
23
-    out += QDir("bin/djv_info").absolutePath();
24
-    out += QDir("bin/djv_convert").absolutePath();
25
-
26
-    // Add the current directory.
27
-
28
-    out += ".";
29
-
30
     //DJV_DEBUG_PRINT("out = " << out);
31
 
32
     QSet<QString> set;
33