If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
The environment variables INCLUDE/LIB/LIBPATH/PATH have been set for Visual Studio compiler and I’ve realised it is the source of this error.
This problem has been solved after I’ve removed the ones related to Visual Studio compiler from the environment variables.
The disscussion at link http://qt-project.org/forums/viewthread/9192 has been very helpful to understand this problem.
Thanks,
Bookmarks