[ create a new paste ] login | about

Link: http://codepad.org/mXkq1Y8E    [ raw code | output | fork ]

C++, pasted on Aug 20:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
QGuiApplication *app = SailfishApp::application (argc, argv);
	QQuickView *view = SailfishApp::createView ();

	QCoreApplication::setOrganizationName ("Maledictus");
	QCoreApplication::setApplicationName ("harbour-mnemosy");
	QCoreApplication::setApplicationVersion ("0.1");

	auto mnemosyManager = new Mnemosy::MnemosyManager (view);
	view->rootContext ()->setContextProperty ("mnemosyManager", mnemosyManager);
	view->setSource (SailfishApp::pathTo ("qml/harbour-mnemosy.qml"));
	mnemosyManager->Init ();

	view->showFullScreen ();

	return app->exec ();


Output:
1
2
Line 1: error: expected constructor, destructor, or type conversion before '*' token
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: