Ref:
https://www.udemy.com/course/qt5-gui-cpp-programming-tutorial-2d-graphics/learn/lecture/6265064#questions/2820818
1. Launch the Qt Command Line (not the regular one).
2. In the Qt command line, write the command windeployqt and give the path to your executable file.