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 directoryLibraries
inside your projects directory. For better understanding, take a look at theINCLUDEPATH
andLIBS
variables on theTensorFlow-console-example.pro
file. - Clone this repo inside your project directory.
- Open the file
TensorFlow-console-example.pro
with Qt Creator and build