Move the qmake config settign into qt4project.

One less need for qmakestep.
This commit is contained in:
dt
2009-07-21 14:50:54 +02:00
parent 4b6f3d3595
commit 406d853e2b
8 changed files with 41 additions and 24 deletions

View File

@@ -84,7 +84,7 @@ QString GCCEToolChain::defaultMakeTarget() const
{
const Qt4Project *qt4project = qobject_cast<const Qt4Project *>(m_project);
if (qt4project) {
if (!(QtVersion::QmakeBuildConfig(qt4project->qmakeStep()->value(
if (!(QtVersion::QmakeBuildConfig(qt4project->value(
qt4project->activeBuildConfiguration(),
"buildConfiguration").toInt()) & QtVersion::DebugBuild)) {
return "release-gcce";