Call qmlRegisterUncreatableType for Marble::MarbleMap

Summary:
QtQml 5.3 seems to need this even for passing just Marble::MarbleMap* values
between objects, without accessing any properties of Marble::MarbleMap

Reviewers: nienhueser

Reviewed By: nienhueser

Projects: #marble

Differential Revision: https://phabricator.kde.org/D579
parent 72ecd447
......@@ -78,6 +78,7 @@ void MarbleDeclarativePlugin::registerTypes( const char *uri )
qmlRegisterUncreatableType<BookmarksModel>( uri, 0, 20, "BookmarksModel", "Do not create" );
qmlRegisterUncreatableType<Marble::AbstractFloatItem>( uri, 0, 20, "FloatItem", "Do not create" );
qmlRegisterUncreatableType<Marble::RenderPlugin>( uri, 0, 20, "RenderPlugin", "Do not create" );
qmlRegisterUncreatableType<Marble::MarbleMap>( uri, 0, 20, "MarbleMap", "Do not create" );
}
void MarbleDeclarativePlugin::initializeEngine( QQmlEngine *engine, const char *)
......
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