aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/metaltextureimport/main.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-02-11 16:00:11 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-02-11 19:26:44 +0100
commitc398e6701d15d13efe242085f51c59722e32d037 (patch)
tree45752b9fb81e7ff77c21296872762d10be2b934f /examples/quick/scenegraph/metaltextureimport/main.cpp
parent90b4528b846542bfa6f0723487315140b9de17b4 (diff)
Modernize type registration in new examples
Change-Id: I26671d47d663c126e2bff41e8db7b0945db78643 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/metaltextureimport/main.cpp')
-rw-r--r--examples/quick/scenegraph/metaltextureimport/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/quick/scenegraph/metaltextureimport/main.cpp b/examples/quick/scenegraph/metaltextureimport/main.cpp
index c969817e8f..4fc010e710 100644
--- a/examples/quick/scenegraph/metaltextureimport/main.cpp
+++ b/examples/quick/scenegraph/metaltextureimport/main.cpp
@@ -50,14 +50,10 @@
#include <QGuiApplication>
#include <QtQuick/QQuickView>
-#include "metaltextureimport.h"
int main(int argc, char **argv)
{
QGuiApplication app(argc, argv);
-
- qmlRegisterType<CustomTextureItem>("MetalTextureImport", 1, 0, "CustomTextureItem");
-
QQuickWindow::setSceneGraphBackend(QSGRendererInterface::MetalRhi);
QQuickView view;