Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.3, 6.0.1
-
-
359df3230 (dev), 771cfca2a (6.7)
-
2023wk02FOQtforAndroid, 2023wk04FOQtforAndroid, 2023wk06FOQtforAndroid, 2023wk08FOQtforAndroid, 2023wk10FOQtforAndroid
Description
A fix to QTBUG-78440 made QLibrary to automatically call JNI_OnLoad() from the loaded library on Android which breaks certain use cases where loading your own plugins that contains or it links to a 3rd party library containing the function, even when it is not desired.
For example, there are libraries that have two modes, one when it should be used from java applications and one for c++ applications. This new behavior can break that c++ interface.
Attachments
Issue Links
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-92007 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
554066,5 | Android: don't call JNI_OnLoad for libraries opened with QLibrary | dev | qt/qtbase | Status: MERGED | +2 | 0 |
555187,2 | Android: don't call JNI_OnLoad for libraries opened with QLibrary | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |