qt5base-lts/tests/auto/corelib/plugin/qlibrary
Filipe Azevedo 9db8c171e7 Fix QLibrary::isLibrary on Apple platforms
Add proper support for 'so' and 'bundle' suffixes.  Qt wrongly assumes
.so libraries are not versioned on Apple platforms, which is
wrong. Also, the shared library .bundle which is what Apple recommends
instead of .so, are also versioned (not to be confound with the
different Core Foundation bundles, which are directory hierarchy).

For more info, see http://docstore.mik.ua/orelly/unix3/mac/ch05_03.htm.
Especially the part that reads:

"Loadable modules, called bundles in Mac OS X, have the file type
MH_BUNDLE. Most Unix-based software ports usually produce bundles with a
.so extension, for the sake of consistency across platforms. Although
Apple recommends giving bundles a .bundle extension, it isn't
mandatory."

Task-number: QTBUG-50446
Change-Id: Iacd5136397a12d65d83821434f332eb602550b4b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-02-12 18:25:42 +00:00
..
lib QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
lib2 QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
library_path
tst Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
.gitignore
qlibrary.pro Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
tst_qlibrary.cpp Fix QLibrary::isLibrary on Apple platforms 2017-02-12 18:25:42 +00:00