qt6-bb10/tests/auto/corelib/plugin/qpluginloader
Thiago Macieira 02510e11a9 tst_QPluginLoader: use qCpuHasFeature instead of __builtin_cpu_supports
Fixes a build problem on VxWorks because their runtime library isn't
libgcc.a and is thus missing the symbols that the Clang emits into the
test code when the intrinsic is used. This also better aligns the CPU
check with what QtCore does.

Drive-by add a comment explaining what this is and why Darwin is
excluded.

Drive-by clean up of the CMakeLists.txt, especially the no-ops.

Task-number: QTBUG-115777
Change-Id: Ib15e33ce157f7e6d99d0530076de6a1024733ed6
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 5f522947878690bf7b99ff4b39a6cbaa259b74b1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-05 12:29:51 +00:00
..
almostplugin
elftest
lib
machtest Add copyright and licensing to .cpp and .h files missing them 2024-05-28 09:47:01 +02:00
staticplugin
theplugin QLibrary/Unix: update the x86-64-v3 prefix path in our search 2024-07-11 08:27:24 +00:00
tst tst_QPluginLoader: use qCpuHasFeature instead of __builtin_cpu_supports 2024-09-05 12:29:51 +00:00
.gitignore
CMakeLists.txt
empty.json
fakeplugin.cpp
tst_qpluginloader.cpp tst_QPluginLoader: use qCpuHasFeature instead of __builtin_cpu_supports 2024-09-05 12:29:51 +00:00
utf8_data.json