Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.9, 5.15, 6.2.3, 6.2, 6.3.0 Alpha, 6.3, 6.4.0 Beta1
-
5.15.7
-
5fa9093191 (qt/qtdeclarative/dev) ae1f2a6cd4 (qt/qtdeclarative/6.3) ae1f2a6cd4 (qt/tqtc-qtdeclarative/6.3) 5fa9093191 (qt/tqtc-qtdeclarative/dev) 06d7d0d42d (qt/tqtc-qtdeclarative/5.15) 709e788425 (qt/qtdeclarative/6.2) 709e788425 (qt/qtdeclarative/6.2.3)
Description
On Windows:
When running qmlplugindump in a manner that would result in an error:
qmlplugindump -nonrelocatable Clock 1.0 C:\Qt\Examples\Qt-5.15.7\qml\qmlextensionplugins\imports\
the output would be:
QQmlComponent: Component is not ready
file:///C:/Qt/Examples/Qt-5.15.7/qml/qmlextensionplugins/imports/typelist.qml:3:1: module "Clock" is not installed
On Linux:
the output for the corresponding command would be only:
QQmlComponent: Component is not ready
so it's essentially missing all the details.
This seems to be fixed by switching from std::cerr to qWarning() in the qmlplugindump sources.
Attachments
Issue Links
- resulted from
-
QTBUG-36378 Qmlplugindump error messages are not written consistently
- Closed
For Gerrit Dashboard: QTBUG-99400 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
388683,3 | qml{plugindump|importscanner}: Don't mix std::cerr and std::wcerr | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
388852,2 | qml{plugindump|importscanner}: Don't mix std::cerr and std::wcerr | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
388854,3 | qml{plugindump|importscanner}: Don't mix std::cerr and std::wcerr | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
388855,3 | qml{plugindump|importscanner}: Don't mix std::cerr and std::wcerr | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |