summaryrefslogtreecommitdiff
path: root/examples/qtobject/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtobject/main.cpp')
-rw-r--r--examples/qtobject/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qtobject/main.cpp b/examples/qtobject/main.cpp
index b816f0e..e9fbc65 100644
--- a/examples/qtobject/main.cpp
+++ b/examples/qtobject/main.cpp
@@ -8,6 +8,7 @@
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
+ qmlRegisterType<TestObjectFactory>("Qt.labs", 1, 0, "TestObjectFactory");
qmlRegisterType<TestObject>("Qt.labs", 1, 0, "TestObject");
QtQuick2ApplicationViewer viewer;