Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.1, 5.9.1
-
None
-
Linux Red Hat 6
-
bdb18b54717f2f97364de811bebc14a31becf1b7
Description
I have a Qml plugin with several qml files bundled as resources. Running qmlplugindump as a post build step using CMake and it works fine.
When adding a qml file using a ChartView, the plugin itself works fine but qmlplugindump crashes with segfault.
Proposal
I know that QtCharts requires applications to use QApplication instead of QGuiApplication. So when I changed this in tools/qmlplugindump/main.cpp and added QT += widgets in tools/qmlplugindump/qmlplugindump.pro and rebuild qmlplugindump it worked fine.
Seems like an easy solution if there are not side effects.
Re-opened, see comment below
Attachments
For Gerrit Dashboard: QTBUG-58264 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
182852,6 | qmlplugindump: add -qapp option | 5.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
202853,2 | qmlplugindump: fix bug in reading command line | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |