添加头文件 #include <QQuickStyle> · 在 app 声明之后添加一行代码 QQuickStyle::setStyle("Material"); · 注意:修改pro 文件,添加模块如下 QT += qml ...
確定! 回上一頁