forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.12'
Conflicts: src/tools/qml2puppet/CMakeLists.txt Change-Id: Id6243b0f725a68075d789bf35e771113b742645b
This commit is contained in:
@@ -352,7 +352,8 @@ QVariantMap DefaultPropertyProvider::autoGeneratedProperties(const ProjectExplor
|
||||
data.insert(QLatin1String(CPP_CXXCOMPILERNAME), cxxCompilerName);
|
||||
}
|
||||
|
||||
if (tcC && tcCxx && cFileInfo.absolutePath() != cxxFileInfo.absolutePath()) {
|
||||
if (tcC && tcCxx && !cCompilerPath.isEmpty() && !cxxCompilerPath.isEmpty()
|
||||
&& cFileInfo.absolutePath() != cxxFileInfo.absolutePath()) {
|
||||
Core::MessageManager::write(tr("C and C++ compiler paths differ. C compiler may not work."),
|
||||
Core::MessageManager::ModeSwitch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user