forked from qt-creator/qt-creator
Fix compile
This commit is contained in:
@@ -137,7 +137,7 @@ bool QMakeStep::init()
|
||||
if (QDir(workingDirectory).exists(QLatin1String("Makefile"))) {
|
||||
QString qmakePath = QtVersionManager::findQMakeBinaryFromMakefile(workingDirectory);
|
||||
if (qtVersion->qmakeCommand() == qmakePath) {
|
||||
m_needToRunQMake = !qt4bc->compareBuildConfigurationToImportFrom(workingDirectory);
|
||||
m_needToRunQMake = !qt4bc->compareToImportFrom(workingDirectory);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -506,7 +506,7 @@ QString MaemoRunConfiguration::maddeRoot() const
|
||||
const QString MaemoRunConfiguration::sysRoot() const
|
||||
{
|
||||
if (const MaemoToolChain *tc = toolchain())
|
||||
return toolchain()->sysrootRoot();
|
||||
return tc->sysrootRoot();
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user