Qt 5.7 RC and Material design
Solved
QML and Qt Quick
-
I'm running Qt 5.7 RC on a Kubuntu 16.04 on a desktop computer. I tried the example found here:
https://doc-snapshots.qt.io/qt5-5.7/qtquickcontrols2-material.htmlimport QtQuick 2.0 import QtQuick.Controls 2.0 import QtQuick.Controls.Material 2.0 ApplicationWindow { visible: true Material.theme: Material.Dark Material.accent: Material.Purple Column { anchors.centerIn: parent RadioButton { text: qsTr("Small") } RadioButton { text: qsTr("Medium"); checked: true } RadioButton { text: qsTr("Large") } } }
My window looks like this:
http://imgur.com/fmNkZBo
and not like the one in the official page. Anyone know what might be the problem? -
Pass "-style material" command line arguments, set QT_QUICK_CONTROLS_STYLE=material environment variable, or use :/qtquickcontrols2.conf: https://doc-snapshots.qt.io/qt5-5.7/qtquickcontrols2-styles.html