From d3b13515ef865fe7304afaa7a119cf326f2c774d Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sun, 2 Jun 2019 02:23:45 +0200 Subject: [PATCH] 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This resolves issue #3. Signed-off-by: gregory guy Signed-off-by: Slávek Banko --- src/kernel/tqtkdeintegration_x11.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/kernel/tqtkdeintegration_x11.cpp b/src/kernel/tqtkdeintegration_x11.cpp index 5bb37d09..9292d0bb 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 ""; }