Qt quick miss some styles?
Unsolved
QML and Qt Quick
-
hi,
I'm trying use the -style to specify the style so I can properly display the button on vnc of webgl platform ( or the button would disappear and leave only text )I'm using qt 5.15.2, in the qt designer , the qtquickcontrols2.conf shows the style= Material. when I type -style Material to run the compiled program , the program show me that message:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QApplication: invalid style override 'Material' passed, ignoring it. Available styles: Windows, Fusion
according to the document, it should be Basic, Fusion , Imagine ... styles, but the program found only Windows and Fusion.
In the qml > QtQuick > Controls.2 , there are "Fusion", "Imagine", "Material", and "Universal" folder. So I think the program at least should find these four styles.
How do I make my Qt find other styles than Windows and Fusion?