forked from qt-creator/qt-creator
QtQuickApplication wizard: Don't show Harmattan targets for symbian components
Change-Id: Ia5108c04d7898567ece7b5498359c88210ed2682 Reviewed-on: http://codereview.qt.nokia.com/695 Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
committed by
Alessandro Portale
parent
efbcb3860d
commit
e1256f11f4
@@ -92,6 +92,9 @@ bool QtQuickAppWizardDialog::validateCurrentPage()
|
||||
if (m_componentOptionsPage->componentSet() == QtQuickApp::Symbian10Components) {
|
||||
setIgnoreGenericOptionsPage(true);
|
||||
targetsPage()->setMinimumQtVersion(QtSupport::QtVersionNumber(4, 7, 3));
|
||||
QSet<QString> requiredFeatures;
|
||||
requiredFeatures << Constants::QTQUICKCOMPONENTS_SYMBIAN_TARGETFEATURE_ID;
|
||||
targetsPage()->setRequiredFeatures(requiredFeatures);
|
||||
} else if (m_componentOptionsPage->componentSet() == QtQuickApp::QtQuick11Components) {
|
||||
targetsPage()->setMinimumQtVersion(QtSupport::QtVersionNumber(4, 7, 4));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user