From af64f953d4f01a7c7bd3415ff5edfff8d4f7c48d Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Tue, 6 Oct 2015 12:52:40 +0200 Subject: Initial commit --- src/main.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main.cpp (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..cbdc925 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,15 @@ +#include +#include +#include +#include "mmscene.h" + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + + QQmlApplicationEngine engine; + qmlRegisterType("MultiMediaProgrammierung", 1, 0, "MMScene"); + engine.load(QUrl(QStringLiteral("qrc:/qml/main.qml"))); + + return app.exec(); +} -- cgit v1.2.3-70-g09d2