JavaEar 专注于收集分享传播有价值的技术资料

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

I just installed Qt, but when I try to compile a basic program I get the error:

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

This is the program I'm trying to compile:

#include <QCoreApplication>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    return a.exec();
}

What could be the problem with my set up?

1个回答

    最佳答案
  1. Try online installer Given in link below. This will install "MinGW" a C++ compiler (I believe!) extra and then the error will go off.

    I've also faced the same problem!!! I used QT offline installer and believe this don't have a compiler inside by default!

    Since this is my first time with QT I looked resources to add compilers but didn't work for me, it is so confusing.

    So, I decided to do fresh installation but at this time to use online installer. http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe