diff options
| author | Jake Petroules <jake.petroules@theqtcompany.com> | 2016-02-18 01:06:49 -0800 |
|---|---|---|
| committer | Jake Petroules <jake.petroules@theqtcompany.com> | 2016-02-25 16:52:38 +0000 |
| commit | fcfe2a5f67f0045e8ed606f60330df5e24cf03b2 (patch) | |
| tree | 95d966f8d01d677cca35fbe4096010c1bbca3e6d /tests/auto/sql/kernel/qsqldatabase | |
| parent | 3ed944b843c107b6d4e9b493745a761e42005dda (diff) | |
Also search the main bundle plugin path for plugins on Apple OSes.
The default value of QLibraryInfo::PluginsPath is $prefix/plugins,
where $prefix is the path to the bundle's contents directory
(for example, .../foo.app/Contents/ on OS X, or .../foo.app/ on iOS).
On Apple platforms the directory is actually called "PlugIns".
Plugins could previously be loaded on OS X by coincidence, but
if the system is using an HFS+ Case Sensitive filesystem (and this
is ALWAYS the case on iOS-like operating systems), the case
mismatch would cause plugins in an application bundle not to be
found/loaded.
This change allows plugins to be located in application bundles
on Apple platforms regardless of the HFS+ case sensitivity mode
and without needing to specify a qt.conf file.
Change-Id: Ie0a0f7448fbf5fb410aa77944ba0d01895bb05e3
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase')
0 files changed, 0 insertions, 0 deletions
