text: //
  //  main.cpp
  //  Qt3D-Geosphere
  //
  //  Created by philipp on 08.08.2019.
  //  Copyright (c) 2019 Philipp Engelhard. All rights reserved.
  //
  #include <QGuiApplication>
  #include <QQmlApplicationEngine>
  
  #include "src/geospheremesh.h"
  
  int main(int argc, char* argv[])
  {
  	QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
  
  	QGuiApplication app(argc, argv);
  
  	qmlRegisterType<GeosphereMesh>("LFD", 1, 0, "GeosphereMesh");
  
  	QQmlApplicationEngine engine;
  	const QUrl url(QStringLiteral("qrc:/main.qml"));
  	QObject::connect(
  	  &engine, &QQmlApplicationEngine::objectCreated, &app,
  	  [url](QObject* obj, const QUrl& objUrl) {
  		  if (!obj && url == objUrl)
  			  QCoreApplication::exit(-1);
  	  },
  	  Qt::QueuedConnection);
  	engine.load(url);
  
  	return app.exec();
  }
  