forked from qt-creator/qt-creator
QtQuickApp wizard: Add option for QtQuick 1.1 module
Technically it's just one line in the generated file, but might avoid people be confused on why there is only QtQuick 1.0 as an option. Change-Id: I61fb4e82d8ee71fe6fddcd6845b4b48e78004e81 Reviewed-on: http://codereview.qt.nokia.com/625 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
committed by
Alessandro Portale
parent
4bf5f4bd94
commit
31904563bb
@@ -92,6 +92,8 @@ bool QtQuickAppWizardDialog::validateCurrentPage()
|
||||
if (m_componentOptionsPage->componentSet() == QtQuickApp::Symbian10Components) {
|
||||
setIgnoreGenericOptionsPage(true);
|
||||
targetsPage()->setMinimumQtVersion(QtSupport::QtVersionNumber(4, 7, 3));
|
||||
} else if (m_componentOptionsPage->componentSet() == QtQuickApp::QtQuick11Components) {
|
||||
targetsPage()->setMinimumQtVersion(QtSupport::QtVersionNumber(4, 7, 4));
|
||||
}
|
||||
}
|
||||
return AbstractMobileAppWizardDialog::validateCurrentPage();
|
||||
@@ -130,8 +132,7 @@ Core::BaseFileWizardParameters QtQuickAppWizard::parameters()
|
||||
"mobile target platforms. For example, you can create signed "
|
||||
"Symbian Installation System (SIS) packages for this type of "
|
||||
"projects. Moreover, you can select to use a set of premade "
|
||||
"UI components in your Qt Quick application. "
|
||||
"To utilize the components, Qt 4.7.3 or newer is required."));
|
||||
"UI components in your Qt Quick application."));
|
||||
parameters.setCategory(QLatin1String(QtSupport::Constants::QML_WIZARD_CATEGORY));
|
||||
parameters.setDisplayCategory(QCoreApplication::translate(QtSupport::Constants::QML_WIZARD_TR_SCOPE,
|
||||
QtSupport::Constants::QML_WIZARD_TR_CATEGORY));
|
||||
|
||||
Reference in New Issue
Block a user