summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/androidcontentfileengine.cpp
diff options
context:
space:
mode:
authorRym Bouabid <[email protected]>2024-06-14 15:25:26 +0200
committerRym Bouabid <[email protected]>2024-06-19 20:47:27 +0000
commit2f11edad9e87311a977cb6edbd908a9fdd86a567 (patch)
tree6823d6f8635aa2a8a32e8dfd54b6b9741ce5d8d9 /src/plugins/platforms/android/androidcontentfileengine.cpp
parent8e04cb27357ab5dffa3d1fd00a416635c7881bc6 (diff)
qlibrary_unix.cpp: Make adding 'lib' prefix possible even when the file name starts with 'lib'
Loading QLibrary("library_manager") and QLibrary("lib_example") is not possible if their binaries are called liblibrary_manager.so and liblib_examplep.so. Remove this prefix check: if (!prefixes.at(prefix).isEmpty() && name.startsWith(prefixes.at(prefix)) ,in order to allow calling dlopen() with "lib" prefix added to the name even if the name starts with "lib". The drawback of removing the check is that extra dlopen() calls will take place in other cases such as: "libexample.so". In this case we will have two extra calls of dlopen() taking "liblibexample.so" and "liblibexample". Fixes: QTBUG-23470 Pick-to: 6.8 6.7 6.5 6.2 Change-Id: I2c0b1b81edf8253443388aa67d24f4cd64d4123d Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/plugins/platforms/android/androidcontentfileengine.cpp')
0 files changed, 0 insertions, 0 deletions