diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-10-06 12:52:40 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-10-06 12:53:07 +0200 |
| commit | af64f953d4f01a7c7bd3415ff5edfff8d4f7c48d (patch) | |
| tree | ee6060a549c311ffa02b4a604bd9059f0465b237 /src/main.cpp | |
| download | Multimedia-af64f953d4f01a7c7bd3415ff5edfff8d4f7c48d.tar.gz Multimedia-af64f953d4f01a7c7bd3415ff5edfff8d4f7c48d.zip | |
Initial commit
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(); +} |
