Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.3.1
-
None
-
-
25e13c907 (dev), db0169bcd (6.5)
Description
Hi,
Since packaging Qt6 on the Guix System GNU/Linux distribution, we've had to review our usage of QT_PLUGIN_PATH to discover QML plugins, because Qt6 would print warnings when loading Qt5 plugins, and I was told in the #qt IRC LiberaChat channel that they should'n't be mixed, else it could cause problems.
This means that each application must now be wrapped with the exact value of QT_PLUGIN_PATH, which defeats the dynamic aspect that plugins are supposed to achieve.
Could QT_PLUGIN_PATH be made to support more than one version? The Qt plugin installation prefixes are already versioned, so it should be possible to differentiate them by this means. or there could be a QT5_PLUGIN_PATH and a QT6_PLUGIN_PATH, etc.
Thank you!
Attachments
For Gerrit Dashboard: QTBUG-107459 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
470976,3 | Q{Plugin,Factory}Loader: downgrade warnings to debug messages | dev | qt/qtbase | Status: MERGED | +2 | 0 |
476317,2 | Q{Plugin,Factory}Loader: downgrade warnings to debug messages | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |