summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-06-02 02:23:45 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-06-02 02:23:54 +0200
commitd3b13515ef865fe7304afaa7a119cf326f2c774d (patch)
tree1f6dbd42e5a74013fd7a4e7e132fec3b2fa6c916 /src/kernel
parent6131b4262eeb4093cc5c44ddee97b3da75c5f523 (diff)
downloadtqt3-d3b13515ef865fe7304afaa7a119cf326f2c774d.tar.gz
tqt3-d3b13515ef865fe7304afaa7a119cf326f2c774d.zip
The TDE integration library (libtqtkde) will be searched for
in the TQt plugins directory, instead of the TDE plugins directory, which cannot be known at TQt build time. This resolves issue #3. Signed-off-by: gregory guy <g-gregory@gmx.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/tqtkdeintegration_x11.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/kernel/tqtkdeintegration_x11.cpp b/src/kernel/tqtkdeintegration_x11.cpp
index 5bb37d09a..9292d0bb2 100644
--- a/src/kernel/tqtkdeintegration_x11.cpp
+++ b/src/kernel/tqtkdeintegration_x11.cpp
@@ -26,11 +26,7 @@ static TQCString findLibrary()
if( getenv( "TQT_NO_KDE_INTEGRATION" ) == NULL
|| getenv( "TQT_NO_KDE_INTEGRATION" )[ 0 ] == '0' )
{
-#ifdef USE_LIB64_PATHES
- return "/opt/kde3/lib64/kde3/plugins/integration/libtqtkde";
-#else
- return "/opt/kde3/lib/kde3/plugins/integration/libtqtkde";
-#endif
+ return TQCString() + tqInstallPathPlugins() + "/integration/libtqtkde";
}
return "";
}