diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2012-07-18 15:06:06 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-27 16:07:01 (GMT) |
commit | 2f4093332db6c9057b82f9c5fababc9bc6cbeb32 (patch) | |
tree | ce8a47a14d22f70796ec78dc7d90ed7742dd134c /src/3rdparty/libtiff/html/v3.4beta029.html | |
parent | cc9020490ac5e0fba580f73ca8b9948a1b4b54bf (diff) | |
download | Qt-2f4093332db6c9057b82f9c5fababc9bc6cbeb32.zip Qt-2f4093332db6c9057b82f9c5fababc9bc6cbeb32.tar.gz Qt-2f4093332db6c9057b82f9c5fababc9bc6cbeb32.tar.bz2 |
Introduce ImprovedSearchHeuristics flag to QLibrary
This commit introduces a new flag to safely introduce the improved
search behaviour in Qt5's QLibrary. If the flag is set then QLibrary
will use the following search heuristic. Otherwise the existing
behaviour will be used.
New search behaviour:
If an absolute path is specified we try that first. Otherwise we first
try the most likely system-specific format (e.g. libfoo.so) on Unix.
This improves performance especially on systems with slow flash devices.
For example, prior to this commit loading the Xcursor library (in the
xcb plugin) results in attempts to dlopen:
"Xcursor"
"Xcursor.so.1"
"libXcursor"
"libXcursor.so.1"
With this commit this is reduced to a single attempt of:
"libXcursor.so.1"
Plugin loading uses absolute paths with QLibrary so there is no
performance penalty for plugins with this commit.
There will be a follow-up commit to make use of the new flag within Qt
to improve performance.
This is a backport of 0026b80cd2a484ad9d685ff5a4f89e6c9815f913
Change-Id: I0dbc83c2909713c01dc687ab8cc3cb0619d1500a
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/3rdparty/libtiff/html/v3.4beta029.html')
0 files changed, 0 insertions, 0 deletions