qt6-bb10/tests/auto/corelib/plugin/qpluginloader
Thiago Macieira af8f5d3aaa QLibrary/Unix: update the x86-64-v3 prefix path in our search
glibc introduced the glibc-hwcaps/XXXX path in glibc 2.33 (2020) and
removed the old, legacy "haswell/" prefix in glibc 2.37 (2022). This
means anyone deploying HW-capable libraries must be deploying symlinks,
so we are not losing functionality.

Because it says "glibc-hwcaps", I am now making this dependent on glibc
for libraries.

Added unit testing for this feature. Tested on Linux, FreeBSD, macOS,
and Windows (the QLibrary test SKIPs everywhere except Linux). We do
create a "libtheplugin.dylib.avx2" on macOS with this change, but won't
attempt to load it (Darwin has fat binaries so lipo(1)ing the files
together would be the right thing to do).

Change-Id: Ic0adfa808d28487a8303fffd17d9e78ec87bbd9a
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit a1db2959129cb4630adfffcaaece19bafe16db77)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-07-11 08:27:24 +00:00
..
almostplugin Change license for tests files 2024-02-04 09:56:42 +01:00
elftest QElfParser: rewrite using elf.h 2021-10-06 12:12:53 -07:00
lib Change license for tests files 2024-02-04 09:56:42 +01:00
machtest Add copyright and licensing to .cpp and .h files missing them 2024-05-28 09:47:01 +02:00
staticplugin Change license for tests files 2024-02-04 09:56:42 +01:00
theplugin QLibrary/Unix: update the x86-64-v3 prefix path in our search 2024-07-11 08:27:24 +00:00
tst Apple: Don't `_debug`-suffix libraries in single config framework builds 2024-07-01 20:55:49 +00:00
.gitignore
CMakeLists.txt CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
empty.json Use new plugin system in plugin autotest. 2012-02-23 16:38:45 +01:00
fakeplugin.cpp Change license for tests files 2024-02-04 09:56:42 +01:00
tst_qpluginloader.cpp QLibrary/Unix: update the x86-64-v3 prefix path in our search 2024-07-11 08:27:24 +00:00
utf8_data.json moc: Fix compilation of text strings containing non-ASCII 2018-09-10 04:17:03 +00:00