Branch: master

d3b13515 2019-06-02 00:23:54 gregory guy
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@...>
Signed-off-by: Slávek Banko <slavek.banko@...>
M src/kernel/tqtkdeintegration_x11.cpp

src/kernel/tqtkdeintegration_x11.cpp

diff --git a/src/kernel/tqtkdeintegration_x11.cpp b/src/kernel/tqtkdeintegration_x11.cpp
index 5bb37d0..9292d0b 100644
--- a/src/kernel/tqtkdeintegration_x11.cpp
+++ b/src/kernel/tqtkdeintegration_x11.cpp
@@ -26,11 +26,7 @@
     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 "";
     }