Run the script.
Enter your project directory (example: C:/UnrealProjects/MyProject).
This will create a CMakeLists.txt file in ...MyProject/Intermediate/ProjectFiles
Once you generated your cmake file, open it up with QtCreator.
In the "Projects" tab, select appropriate build/rebuild/clean steps (exemple: MyProjectEditor_Win64_DebugGame_Build)