My mistake there. I don't know why I mentioned Visual Studio. I used VS to compile the dependent libraries for the project, but I am using QT to compile the project.