Create a new project (File - New Project) and select the project type. For console applications like in the code snippet select
Other Project and then choose
Qt Console or
Plain C++ which is the type of the shown code. Then paste the code from the article into the body of the created
main function.
This step is necessary to create the Qt project file
qmake.pro which contains the build definitions.
If you want to create a Qt GUI application you have first to learn about those. Start at
Tutorials | Qt Creator Manual[
^]. Create the GUI according to your requirements (here for example by providing controls to select input and output files) and insert the code from the article to perform the conversion.
Note that the code requires the
exiftool to be installed.