qt6-bb10/src
Thiago Macieira e6f1fde24f QLibrary/Unix: do not attempt to load a library relative to $PWD
I added the code in commit 5219c37f7c to
find libraries in a haswell/ subdir of the main path, but we only need
to do that transformation if the library is contains at least one
directory seprator. That is, if the user asks to load "lib/foo", then we
should try "lib/haswell/foo" (often, the path prefix will be absolute).

When the library name the user requested has no directory separators, we
let dlopen() do the transformation for us. Testing on Linux confirms
glibc does so:

$ LD_DEBUG=libs /lib64/ld-linux-x86-64.so.2 --inhibit-cache ./qml -help |& grep Xcursor
   1972475:     find library=libXcursor.so.1 [0]; searching
   1972475:       trying file=/usr/lib64/haswell/avx512_1/libXcursor.so.1
   1972475:       trying file=/usr/lib64/haswell/libXcursor.so.1
   1972475:       trying file=/usr/lib64/libXcursor.so.1
   1972475:     calling init: /usr/lib64/libXcursor.so.1
   1972475:     calling fini: /usr/lib64/libXcursor.so.1 [0]

Fixes: QTBUG-81272
Change-Id: I596aec77785a4e4e84d5fffd15e89689bb91ffbb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-01-18 05:00:48 -08:00
..
3rdparty Fix CVE-2019-19645 in SQLite 2020-01-03 10:36:58 +01:00
android Remove dead code to fix a lint warning 2020-01-09 08:04:41 +01:00
angle Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
concurrent QtConcurrent: fix warning about function parameters shadowing class members 2019-10-08 23:21:14 +02:00
corelib QLibrary/Unix: do not attempt to load a library relative to $PWD 2020-01-18 05:00:48 -08:00
dbus Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-10 09:13:49 +02:00
gui Merge 5.14 into 5.14.1 2020-01-15 19:08:18 +02:00
network Use prefixed ssl libs when "-openssl-linked" configure params is used 2020-01-07 14:23:06 +02:00
opengl Fix depth in renderText() 2019-12-03 13:51:28 +01:00
openglextensions QtGui: Disable Windows on ARM64 preprocessor conflict in QtOpenGL 2019-10-21 09:14:18 -04:00
platformheaders Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
platformsupport Fix developer build with clang-cl failing due exception spec 2020-01-10 08:26:57 +01:00
plugins macOS: Move palette setup into platform theme 2020-01-14 15:41:00 +01:00
printsupport Fix some qdoc warnings 2020-01-02 13:43:56 +01:00
sql Doc/SQL: update sql driver creation instructions 2019-12-14 08:46:14 +01:00
testlib Doc: Correct non-link related qdoc compilation errors 2020-01-14 16:38:48 +00:00
tools uic/Python: Fix missing QCursor import 2020-01-14 14:17:52 +01:00
widgets Doc: Correct non-link related qdoc compilation errors 2020-01-14 16:38:48 +00:00
winmain Merge remote-tracking branch 'origin/5.13' into dev 2019-05-27 15:34:10 +02:00
xml QDom: use QLocale::C when converting a double to a xml attribute 2019-11-19 17:33:33 +01:00
src.pro Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-10 09:13:49 +02:00