Commit 34c79839 authored by Daniel Teske's avatar Daniel Teske Committed by Tobias Hunger
Browse files

QtOptionsPage: Fix check for existing qt version

We need to check the list of the options dialog not the one in the

Change-Id: I79668ead5e613e8f98770ea383425804ca3d0950
Reviewed-by: default avatarTobias Hunger <>
parent 3eedd06c
......@@ -641,7 +641,13 @@ void QtOptionsPageWidget::addQtDir()
if (qtVersion.isNull())
BaseQtVersion *version = QtVersionManager::instance()->qtVersionForQMakeBinary(qtVersion);
BaseQtVersion *version = 0;
foreach (BaseQtVersion *v, m_versions) {
if (v->qmakeCommand() == qtVersion) {
version = v;
if (version) {
// Already exist
QMessageBox::warning(this, tr("Qt known"),
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