Skip to content
Snippets Groups Projects
Commit aecab937 authored by Daniel Teske's avatar Daniel Teske
Browse files

qmake project wizards: Hide if no qt is configured


Task-number: QTCREATORBUG-8708
Change-Id: Ia3f842cd4171c11307d3278aa5a1c85adc6e1fa7
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 34fd5ca5
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,7 @@
#include "emptyprojectwizarddialog.h"
#include <projectexplorer/projectexplorerconstants.h>
#include <qtsupport/qtsupportconstants.h>
#include <QIcon>
......@@ -51,7 +52,7 @@ EmptyProjectWizard::EmptyProjectWizard()
Core::FeatureSet EmptyProjectWizard::requiredFeatures() const
{
return Core::FeatureSet();
return Core::Feature(QtSupport::Constants::FEATURE_QT);
}
QWizard *EmptyProjectWizard::createWizardDialog(QWidget *parent,
......
......@@ -36,6 +36,7 @@
#include <utils/codegeneration.h>
#include <cpptools/abstracteditorsupport.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <qtsupport/qtsupportconstants.h>
#include <QDir>
#include <QFileInfo>
......@@ -142,7 +143,7 @@ Core::GeneratedFiles LibraryWizard::generateFiles(const QWizard *w,
Core::FeatureSet LibraryWizard::requiredFeatures() const
{
return Core::FeatureSet();
return Core::Feature(QtSupport::Constants::FEATURE_QT);
}
} // namespace Internal
......
......@@ -33,6 +33,7 @@
#include <projectexplorer/projectexplorerconstants.h>
#include <coreplugin/icore.h>
#include <qtsupport/qtsupportconstants.h>
#include <QIcon>
......@@ -98,7 +99,7 @@ bool SubdirsProjectWizard::postGenerateFiles(const QWizard *w, const Core::Gener
Core::FeatureSet SubdirsProjectWizard::requiredFeatures() const
{
return Core::FeatureSet();
return Core::Feature(QtSupport::Constants::FEATURE_QT);
}
} // namespace Internal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment