Commit 0190c273 authored by Daniel Teske's avatar Daniel Teske

Run QMake, static_cast not qobject_cast

Change-Id: Ib9be214838d8e10dbd1a870d894bf7485265a43e
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 87e76e7e
......@@ -377,10 +377,7 @@ void Qt4Manager::runQMake(ProjectExplorer::Project *p, ProjectExplorer::Node *no
!qt4pro->activeTarget()->activeBuildConfiguration())
return;
Qt4BuildConfiguration *bc = qobject_cast<Qt4BuildConfiguration *>(qt4pro->activeTarget()->activeBuildConfiguration());
if (!bc)
return;
Qt4BuildConfiguration *bc = static_cast<Qt4BuildConfiguration *>(qt4pro->activeTarget()->activeBuildConfiguration());
QMakeStep *qs = bc->qmakeStep();
if (!qs)
return;
......
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