diff options
Diffstat (limited to 'examples/simple-qml/main.cpp')
-rw-r--r-- | examples/simple-qml/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/simple-qml/main.cpp b/examples/simple-qml/main.cpp index 1efee589c..f6d4168f1 100644 --- a/examples/simple-qml/main.cpp +++ b/examples/simple-qml/main.cpp @@ -42,6 +42,7 @@ #include <Qt3DQuick/quickwindow.h> #include <Qt3DRenderer/rendereraspect.h> +#include <exampleresources.h> #include <QGuiApplication> #include <QtQml> @@ -50,6 +51,8 @@ int main(int argc, char* argv[]) { QGuiApplication app(argc, argv); + initializeAssetResources("../exampleresources/example-assets.qrb"); + Qt3D::Quick::QuickWindow view; view.registerAspect(new Qt3D::RendererAspect()); // There should be some synchronising mechanism to make sure |