qmlscene -style material file.qml says "QApplication: invalid style override passed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtdeclarative-opensource-src (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
qmlscene -qt=5 -style material file.qml
prints
QApplication: invalid style override passed, ignoring it.
on the terminal.
This does not happen when using the environment variable method, e.g.
QT_QUICK_
The documentation for how this is supposed to work is at
https:/
I'm reporting this to ubuntu because it might be due to packaging or patching done for Ubuntu. I can not conveniently try a pristine upstream version of Qt, so hoping the Qt Ubuntu maintainer can quickly determine if this is an upstream bug or not.
I'll attach a trivial test file which demonstrates the problem
STEPS TO REPRODUCE:
qmlscene -style material test.qml # test.qml attached
ACTUAL RESULTS:
Prints warning about invalid style on the terminal
EXPECTED RESULTS:
Silent obedience
Reassigned to qtdeclarative- opensource- src which is responsible for the qmlscene binary. qtchooser is just a "wrapper to select between Qt development binary versions."