I am using QT to display PCD file by VTK, I am facing the problem such like; In included file: 'math.h' file not found
I have already checked the 'edit system environment variable', .pro file's INCLUDE file etc. etc. that's fine.
can anyone encounter such issue? please response, thanks indeed.
CodePudding user response:
You should use CMake to configure your project, not QMake. If you insist on using QMake, compile a hello world example using CMake. Then take include paths etc from it and add it to your QMake project.
CodePudding user response:
You can try the absolute path of your math.h file to check that Qt has access to it ( ie: #include "C:\Qt\Tools\mingw530_32\i686-w64-mingw32\include\math.h" ) and if it works, then check Qt INC dirs.