#include #include #include #include "OpenGLView.h" int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); qmlRegisterType("Paysages", 1, 0, "OpenGLView"); QQuickView view; view.setTitle(QObject::tr("Paysages 3D")); view.setResizeMode(QQuickView::SizeRootObjectToView); view.setSource(QUrl("qrc:///main.qml")); view.show(); return app.exec(); }