Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
6.2.3
-
None
-
-
e7d627339c (qt/qtbase/dev) e7d627339c (qt/tqtc-qtbase/dev) 28c2dfb9bb (qt/qtbase/6.3) 28c2dfb9bb (qt/tqtc-qtbase/6.3) a633bc491f (qt/qtbase/6.2) a633bc491f (qt/tqtc-qtbase/6.2)
Description
QPluginLoader by default have set QLibrary::PreventUnloadHint
On a new QPluginLoader Object loadHints returns "no hints set"
QLibrary::LoadHints hints = loader.loadHints(); qDebug() << hints; hints |= QLibrary::LoadHint::PreventUnloadHint; qDebug() << hints; loader.setLoadHints ( hints ); qDebug() << loader.loadHints();
This code outputs
QFlags<QLibrary::LoadHint>()
QFlags<QLibrary::LoadHint>(PreventUnloadHint)
QFlags<QLibrary::LoadHint>(PreventUnloadHint)
Attachments
For Gerrit Dashboard: QTBUG-100416 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
393676,1 | QPluginLoader: report the right load hints | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: NEW | -1 | 0 |
393592,3 | QPluginLoader: report the right load hints | dev | qt/qtbase | Status: MERGED | +2 | 0 |
393674,2 | QPluginLoader: report the right load hints | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
393675,2 | QPluginLoader: report the right load hints | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |