diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2012-07-19 10:27:33 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-27 16:07:01 (GMT) |
commit | 34303994dbc8ed58a9fa00e8ad9b75e01e629d46 (patch) | |
tree | 5014cdcb3d1a117456f10af36570ac40131dc584 /src/gui | |
parent | fc5174ccce1906c787b7a5ab2f389a1ef439bc2b (diff) | |
download | Qt-34303994dbc8ed58a9fa00e8ad9b75e01e629d46.zip Qt-34303994dbc8ed58a9fa00e8ad9b75e01e629d46.tar.gz Qt-34303994dbc8ed58a9fa00e8ad9b75e01e629d46.tar.bz2 |
Use improved QLibrary search heuristics for libgtk
Change-Id: Id9bdb0199f926d1a518a94080285f96f0810cf92
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/styles/qgtkstyle_p.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/styles/qgtkstyle_p.cpp b/src/gui/styles/qgtkstyle_p.cpp index ce09502..777b5a3 100644 --- a/src/gui/styles/qgtkstyle_p.cpp +++ b/src/gui/styles/qgtkstyle_p.cpp @@ -313,6 +313,7 @@ void QGtkStylePrivate::resolveGtk() const { // enforce the "0" suffix, so we'll open libgtk-x11-2.0.so.0 QLibrary libgtk(QLS("gtk-x11-2.0"), 0, 0); + libgtk.setLoadHints(QLibrary::ImprovedSearchHeuristics); gtk_init = (Ptr_gtk_init)libgtk.resolve("gtk_init"); gtk_window_new = (Ptr_gtk_window_new)libgtk.resolve("gtk_window_new"); |