Task-number: QTBUG-46458
Change-Id: I102eb6b902e9f59e7abacae611b5ad32dbe64eeb
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
case WindowsMinGW: { // MinGW: Add runtime libraries
static const char *minGwRuntimes[] = {"*gcc_", "*stdc++", "*winpthread"};
const QString gcc = findInPath(QStringLiteral("g++.exe"));
- if (gcc.isEmpty())
+ if (gcc.isEmpty()) {
+ std::wcerr << "Warning: Cannot find GCC installation directory. g++.exe must be in the path.\n";
break;
+ }
const QString binPath = QFileInfo(gcc).absolutePath();
QDir dir(binPath);
QStringList filters;