diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2025-05-13 16:27:11 +0200 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2025-05-16 00:16:45 +0200 |
| commit | ecd63d469f453d4fef6e807388e68451cdc2c043 (patch) | |
| tree | 2dc90c36c6a932d7b7739a4cd11bbc8ac13b6861 /src/opengl/qopengltexture.cpp | |
| parent | 7869593119ffaea6002e6668814af159a2077398 (diff) | |
CMake: Fix rpath adjustment when deploying QML plugins
If Qt is configured with a custom value for INSTALL_QMLDIR, e.g. via
"configure -qmldir lib/qml", then we must adjust the rpath for QML
plugins. Otherwise they won't be able to load Qt libraries.
We had general code that adjusts the rpath for plugins, but that only
triggered if INSTALL_LIBDIR was different from the user project's
CMAKE_INSTALL_LIBDIR.
Now, we always adjust the rpath of plugins on Linux. The operation is
cheap, and I don't quite see how to add a robust condition for all
desired cases.
Pick-to: 6.8 6.9
Fixes: QTBUG-125223
Change-Id: Ib511fbc2b733deac804191773e56be9b6adf5e68
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/opengl/qopengltexture.cpp')
0 files changed, 0 insertions, 0 deletions
