Commit bbdd17ab authored by Benito van der Zander's avatar Benito van der Zander Committed by Tobias Hunger

fix a crash if no qt version is set for a project

Change-Id: I554288078fb472352a3a93e689c859e05d72e67e
Merge-request: 337
Reviewed-by: default avatarTobias Hunger <>
parent 8c7e8966
......@@ -176,8 +176,14 @@ bool S60EmulatorRunConfiguration::fromMap(const QVariantMap &map)
QString S60EmulatorRunConfiguration::executable() const
if (!qt4Target())
return QString();
Qt4BuildConfiguration *qt4bc = qt4Target()->activeBuildConfiguration();
if (!qt4bc)
return QString();
QtSupport::BaseQtVersion *qtVersion = qt4bc->qtVersion();
if (!qtVersion)
return QString();
QString baseDir = qtVersion->systemRoot();
QString qmakeBuildConfig = "urel";
if (qt4bc->qmakeBuildConfiguration() & QtSupport::BaseQtVersion::DebugBuild)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment