On 6/9/2015 1:02 AM, Simon Hausmann wrote: > On Tuesday, June 02, 2015 03:44:59 PM [email protected] wrote: >> On 5/29/2015 9:53 AM, mark diener wrote: >>> Hello dev list: >> Maybe after the 5.5 release, I would like to explore adding public >> access member functions to QQmlEngine.h/cpp: >> >> int QQmlEngine::loadComponent(QQmlComponent& component, QString& >> importQmlName); >> >> int QQmlEngine::clearComponent(QString& importQmlName); >> >> bool QQmlEngine::isComponentLoaded(QString& component); >> >> The biggest concern I see is the caveat warnings given by qqmlimport.h >
> If you'd like to "pre-load" components, then I agree that we could have > dedicated API for this, although you can already do this today by creating an > async QQmlComponent and just not call create() on it. > Simon, that is great that I can already do this. How do I add an Async QmlComponent to the visible Import List so QQmlEngine does not vomit "Unknown Type" errors? The Async Component does not seem added to the known import list, hence, other QML components that to reference Async Component vomit type errors Thanks, md _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
