Hi guys… as the doc say (http://doc.qt.io/qt-5/qtquickcontrols2-styles.html), I can do something like this:
#include <QGuiApplication>#include <QQmlApplicationEngine>#include <QQuickStyle> int main(int argc, char *argv[]) { QGuiApplication <http://doc.qt.io/qt-5/qguiapplication.html>::setAttribute(Qt <http://doc.qt.io/qt-5/qt.html>::AA_EnableHighDpiScaling); QGuiApplication <http://doc.qt.io/qt-5/qguiapplication.html> app(argc, argv); QQuickStyle <http://doc.qt.io/qt-5/qquickstyle.html>::setStyle("Material"); QQmlApplicationEngine <http://doc.qt.io/qt-5/qqmlapplicationengine.html> engine; engine.load(QUrl <http://doc.qt.io/qt-5/qurl.html>("qrc:/main.qml")); return app.exec(); } The problem for me is that the include for QQuickStyle faile… file not found… so I think that I’m missing something… What do I have to add to be available to run this example? Regards Freddy
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest