h48

A prototype for an optimal Rubik's cube solver, work in progress.
git clone https://git.tronto.net/h48
Download | Log | Files | Refs | README | LICENSE

main.cpp (395B)


      1 #include "adapter.h"
      2 
      3 #include <QGuiApplication>
      4 #include <QQmlApplicationEngine>
      5 
      6 int main(int argc, char *argv[])
      7 {
      8 	QGuiApplication app(argc, argv);
      9 	QQmlApplicationEngine engine;
     10 	QObject::connect(&engine, &QQmlApplicationEngine::objectCreationFailed,
     11 	    &app, []() { QCoreApplication::exit(-1); }, Qt::QueuedConnection);
     12 
     13 	engine.loadFromModule("nissyqt", "Main");
     14 
     15 	return app.exec();
     16 }