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>
pull/10/head
gregory guy 5 years ago committed by Slávek Banko
parent 6131b4262e
commit d3b13515ef
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -26,11 +26,7 @@ static TQCString findLibrary()
if( getenv( "TQT_NO_KDE_INTEGRATION" ) == NULL if( getenv( "TQT_NO_KDE_INTEGRATION" ) == NULL
|| getenv( "TQT_NO_KDE_INTEGRATION" )[ 0 ] == '0' ) || getenv( "TQT_NO_KDE_INTEGRATION" )[ 0 ] == '0' )
{ {
#ifdef USE_LIB64_PATHES return TQCString() + tqInstallPathPlugins() + "/integration/libtqtkde";
return "/opt/kde3/lib64/kde3/plugins/integration/libtqtkde";
#else
return "/opt/kde3/lib/kde3/plugins/integration/libtqtkde";
#endif
} }
return ""; return "";
} }

Loading…
Cancel
Save