Commit 56a73b29 authored by Pawel Polanski's avatar Pawel Polanski Committed by Tobias Hunger

Crash when no Qt version is defined

Change-Id: Iffef69e328d9b7294c6aeb753219033456efe2c2
Reviewed-on: http://codereview.qt.nokia.com/40Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 2d80383d
......@@ -61,7 +61,7 @@ S60PublishingBuildSettingsPageOvi::S60PublishingBuildSettingsPageOvi(S60Publishe
foreach (ProjectExplorer::BuildConfiguration * const bc, target->buildConfigurations()) {
Qt4BuildConfiguration * const qt4bc
= qobject_cast<Qt4BuildConfiguration *>(bc);
if (!qt4bc)
if (!qt4bc || !qt4bc->qtVersion())
continue;
if (qt4bc->qtVersion()->qtVersion() > QtVersionNumber(4, 6, 2))
list << qt4bc;
......
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