Implemented createWindow() in QtLauncher.