Use Window element as a root and QQmlApplicationEngine to show it