The TDE integration library (libqtkde) will be searched for

in the Qt plugins directory, instead of the TDE plugins
directory, which cannot be known at Qt 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>
(cherry picked from commit 1ef55acbce)
r14.0.x
gregory guy 6 years ago committed by Slávek Banko
parent 309cbda6e2
commit 3c5f0f8856
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -27,11 +27,7 @@ static QCString findLibrary()
if( getenv( "QT_NO_KDE_INTEGRATION" ) == NULL if( getenv( "QT_NO_KDE_INTEGRATION" ) == NULL
|| getenv( "QT_NO_KDE_INTEGRATION" )[ 0 ] == '0' ) || getenv( "QT_NO_KDE_INTEGRATION" )[ 0 ] == '0' )
{ {
#ifdef USE_LIB64_PATHES return QCString() + qInstallPathPlugins() + "/integration/libqtkde";
return "/opt/kde3/lib64/kde3/plugins/integration/libqtkde";
#else
return "/opt/kde3/lib/kde3/plugins/integration/libqtkde";
#endif
} }
return ""; return "";
} }

Loading…
Cancel
Save