OSDN Git Service

do only basic ELF checks from qt_unix_query()
authorIvailo Monev <xakepa10@gmail.com>
Tue, 1 Nov 2022 17:11:15 +0000 (19:11 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 1 Nov 2022 17:11:15 +0000 (19:11 +0200)
commit4ca87ec20ce8d07e4e3965d22328235637cf644a
treecc998f6f9ea28ca54adbff19238d748893fb0184
parent57f3e74d1da2884fdf11a5b266f1643ba348839d
do only basic ELF checks from qt_unix_query()

QLibraryPrivate::loadPlugin() resolves the symbol, it is not assumed to be
present in the plugin which means a basic ELF check is more than enough
(the important thing is to _not_ load .debug files as those may cause a
crash)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/plugin/qlibrary.cpp