SHARE
TWEET

Untitled

a guest Aug 6th, 2016 14 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <QGuiApplication>
  2. #include <QQmlApplicationEngine>
  3. #include <QQuickStyle>
  4. #include <QQmlContext>
  5.  
  6. int main(int argc, char *argv[])
  7. {
  8.     QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
  9.     QGuiApplication app(argc, argv);
  10.     QQuickStyle::setStyle("Material");
  11.     QQmlApplicationEngine engine;
  12.     engine.load(QUrl(QLatin1String("qrc:/main.qml")));
  13.  
  14.     return app.exec();
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top