Fix "TARGET=" in .pro files

Default to the baseName() of the .pro file.
This commit is contained in:
dt
2009-08-13 17:18:18 +02:00
parent b104b43fa0
commit 39913b3216
3 changed files with 14 additions and 3 deletions

View File

@@ -221,6 +221,9 @@ void S60DeviceRunConfiguration::updateTarget()
}
m_targetName = reader->value("TARGET");
if (m_targetName.isEmpty())
m_targetName = QFileInfo(m_proFilePath).baseName();
m_baseFileName = QDir::cleanPath(m_workingDir + QLatin1Char('/') + m_targetName);
if (pro->toolChainType(pro->activeBuildConfiguration()) == ToolChain::GCCE)