Pattara Kiatisevi (list) wrote: [...] > > > And for Qt4/KDE4, isn't it better to use QLibrary::resolve("thai", 0, > "th_brk") so that it will go for libthai.so.0 > directly, eliminating the need to have libthai.so (which is normally > in development package)? > > Patch for KDE4 (tested against KDE4beta2) attached. A similar patch for Qt4 (tested against the latest qt-copy). (bascially just added the library version number "0". Thank you very much, Pattara Index: src/gui/text/qscriptengine.cpp =================================================================== --- src/gui/text/qscriptengine.cpp (revision 718597) +++ src/gui/text/qscriptengine.cpp (working copy) @@ -3488,7 +3488,7 @@ #ifndef QT_NO_LIBRARY /* load libthai dynamically */ if (!th_brk && thaiCodec) { - th_brk = (th_brk_def)QLibrary::resolve(QLatin1String("thai"), "th_brk"); + th_brk = (th_brk_def)QLibrary::resolve(QLatin1String("thai"), 0, "th_brk"); if (!th_brk) thaiCodec = 0; } >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<