Commit 9e037dae authored by Yoann Lopes's avatar Yoann Lopes

Fixes crash in PaintedItem example when using threaded rendering.

parent 7ab1f983
......@@ -67,6 +67,10 @@ public:
int main(int argc, char ** argv)
#ifdef Q_WS_X11
QApplication app(argc, argv);
qmlRegisterType<MyPaintItem>("MyModule", 1, 0, "MyPaintItem");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment