Search code examples
c++qtqt-creatorqmake

Qt Error while building first project[Windows]


I installed Qt Creator 4.1 Based on Qt 5.7.0 from https://www.qt.io/.

I tried to build a Qt Widgets Application, but I got the following error in the Console output:

Error while building/deploying project HelloWorld (kit: Desktop Qt 5.7.0 MSVC2015_64bit)
When executing step "qmake"

What may be causing this problem?

I have searched in Google, but didn't find a solution to the problem. I am using Windows 8.1 x64 if that matters.


Solution

  • You should install visual studio 2015 or vs c++ 2015 compiler so you can use vs compiler 2015 with Qt or use Qt with MinGW compiler