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

Run QMake, static_cast not qobject_cast

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