Create the mainwindow when setting the qml path, if needed