It was compiled using Qt 5.15.2 and the MinGW 64-bit compiler, but should work with MSVC 64-bit aswell.
- First download the TensorFlow C API from this link. I used the windows CPU only library.
- Extract the contents on a directory called
TensorFlow, located on a directoryLibrariesinside your projects directory. For better understanding, take a look at theINCLUDEPATHandLIBSvariables on theTensorFlow-console-example.profile. - Clone this repo inside your project directory.
- Open the file
TensorFlow-console-example.prowith Qt Creator and build