diff options
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
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 <QApplication> +#include <QQmlApplicationEngine> +#include <qqml.h> +#include "mmscene.h" + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + + QQmlApplicationEngine engine; + qmlRegisterType<MMScene>("MultiMediaProgrammierung", 1, 0, "MMScene"); + engine.load(QUrl(QStringLiteral("qrc:/qml/main.qml"))); + + return app.exec(); +} |
