qt5base-lts/tests/auto
Joerg Bornemann 5430fb2243 CMake: Set RPATH of deployed plugins on Linux
When deploying into some directory structure where CMAKE_INSTALL_LIBDIR
is different from Qt's lib dir, we need to set the RPATH of installed
plugins such that Qt libraries are found.

We do this using CMake's undocumented file(RPATH_SET) command and pray
that this command is safe to use across current and future CMake
versions.  For CMake versions < 3.21, we use patchelf, which must be
installed on the host system.

The adjustment of rpaths can be turned on explicitly by setting
QT_DEPLOY_FORCE_ADJUST_RPATHS to ON.

The usage of patchelf can be forced by setting QT_DEPLOY_USE_PATCHELF to
ON regardless of the CMake version.

Change-Id: I62ced496b4c12bf6d46735d2af7ff35130148acb
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-10-15 13:00:04 +02:00
..
bic/data Add BiC data for the new way to do BiC testing 2022-05-12 13:33:41 +03:00
cmake CMake: Set RPATH of deployed plugins on Linux 2022-10-15 13:00:04 +02:00
concurrent Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
corelib Autotest/Unix: request zero-sized core dumps for crashing code 2022-10-14 08:18:53 -07:00
dbus Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
gui tests: skip tst_QTouchEvent::multiPointRawEventTranslationOnTouchPad() on Wayland 2022-10-14 17:18:53 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Autotest/Unix: request zero-sized core dumps for crashing code 2022-10-14 08:18:53 -07:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
printsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
testlib Autotest/Unix: request zero-sized core dumps for crashing code 2022-10-14 08:18:53 -07:00
tools Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
wasm Fix QWasmWindowStack::topWindow when the stack is empty 2022-09-12 20:09:03 +02:00
widgets tests: skip tst_QWidget::touchEventSynthesizedMouseEvent() on Wayland 2022-10-14 17:18:53 +02:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00