Advertisement
PlotnikovPhilipp

Untitled

May 21st, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <QGuiApplication>
  2. #include <QtQml>
  3. #include <drop.hpp>
  4.  
  5. using namespace Qt;
  6.  
  7. int main(int argc, char *argv[])
  8. {
  9. QGuiApplication app(argc, argv);
  10. qmlRegisterType<Drop>("areaOfDrop", 1, 0, "AreaOfDrop");
  11. QQmlApplicationEngine engine;
  12. engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
  13. return app.exec();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement