Make running work on Mac again.

This commit is contained in:
con
2009-03-19 15:54:21 +01:00
parent 824265d43e
commit 393eb142f9

View File

@@ -342,11 +342,8 @@ void Qt4RunConfiguration::updateTarget()
#if defined (Q_OS_MAC)
if (reader->values("CONFIG").contains("app_bundle")) {
QString qmakeBuildConfig = "release";
if (projectBuildConfiguration & QtVersion::DebugBuild)
qmakeBuildConfig = "debug";
m_workingDir += QLatin1Char('/')
+ qmakeBuildConfig
+ reader->value("TARGET")
+ QLatin1String(".app/Contents/MacOS");
}
#endif