Hi ysing,
I think will be grade if you use the function which I posted upper. All you need it’s add the code to action which must show window.
var wnd = createWindow(<some parent object>);
if(wnd !== null)
{
wnd.show();
}
Could you check this sample [dshav.com].
Also you can check the documentation about Loader [qt-project.org]. This component of QML give you way load some QML file as a part of main file. But I don’t use this component to load window.
↧