I'm currently trying learn the in's and out's of using qmake to build a VS project file for VS Community 2015. The tutorial that I was following along with was this one: qmake tutorial
The tutorial seems simple enough and qmake ran my commands just fine. However once I launched the hello.vcxproj file and tried to compile, VS told me it was unable to find the appropriate qt header files to compile properly. These are the details regarding my .pro file and qmake commands.
// .pro file
CONFIG += qt debug
INCLUDEPATH = "C:\Qt\5.5\mingw492_32\include\QtGui"
HEADERS += hello.h
SOURCES += hello.cpp
SOURCES += main.cpp
and
// batch commands
set QMAKESPEC=win32-msvc2015
qmake -tp vc hello.pro
pause
and just in case it's needed, this is what my PATH looks like as well.
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Qt\5.5\mingw492_32\bin
Any help or push in the right direction would be greatly appreciated.
-Shellz