QML Styling issues



  • Hi all!

    I read this topic "QmlStyling":http://qt-project.org/wiki/QmlStyling but still have two questions about usage:

    1. Can I set qml style dynamicaly after start application?
    2. How I can create several styles for different platforms and set once of them for each platform?

    Thank you for attention!



  • Ad 1. Currently no. It is controlled by QT_QUICK_CONTROLS_STYLE env variable evaluated when first controls is used.
    Ad2. By using above variable but be informed that it is PRIVATE API and can be changed(e.g. disappear) in next Qt release.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.