Skip to content
Snippets Groups Projects
Commit dea111ab authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QtQuickAppWizard: stating qt requirements in the description.


We should mention the correct Qt requirements to avoid confusion.

Change-Id: I8d729075359606b632ed617ae898d9f9ddacdfa2
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent 06e6d88b
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters() ...@@ -82,7 +82,7 @@ Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters()
"QML file that contains the main view.\n\n" "QML file that contains the main view.\n\n"
"You can review Qt Quick UI projects in the QML Viewer and you need not build them. " "You can review Qt Quick UI projects in the QML Viewer and you need not build them. "
"You do not need to have the development environment installed " "You do not need to have the development environment installed "
"on your computer to create and run this type of projects.")); "on your computer to create and run this type of projects.\n\nRequires <b>Qt 4.7.4</b> or newer."));
parameters.setCategory(QLatin1String(ProjectExplorer::Constants::QT_APPLICATION_WIZARD_CATEGORY)); parameters.setCategory(QLatin1String(ProjectExplorer::Constants::QT_APPLICATION_WIZARD_CATEGORY));
parameters.setDisplayCategory(QT_TRANSLATE_NOOP("ProjectExplorer", "Qt Application")); parameters.setDisplayCategory(QT_TRANSLATE_NOOP("ProjectExplorer", "Qt Application"));
return parameters; return parameters;
......
...@@ -147,7 +147,7 @@ void QtQuickAppWizard::createInstances(ExtensionSystem::IPlugin *plugin) ...@@ -147,7 +147,7 @@ void QtQuickAppWizard::createInstances(ExtensionSystem::IPlugin *plugin)
parameter.setDisplayName(tr("Qt Quick Application (Built-in elements)")); parameter.setDisplayName(tr("Qt Quick Application (Built-in elements)"));
parameter.setDescription(basicDescription + tr("The built-in elements in the QtQuick namespace allow " parameter.setDescription(basicDescription + tr("The built-in elements in the QtQuick namespace allow "
"you to write cross-platform applications with " "you to write cross-platform applications with "
"a custom look and feel.\n\nRequires Qt 4.7.1 or newer.")); "a custom look and feel.\n\nRequires <b>Qt 4.7.4</b> or newer."));
parameter.setRequiredFeatures(basicFeatures); parameter.setRequiredFeatures(basicFeatures);
list << parameter; list << parameter;
...@@ -156,7 +156,7 @@ void QtQuickAppWizard::createInstances(ExtensionSystem::IPlugin *plugin) ...@@ -156,7 +156,7 @@ void QtQuickAppWizard::createInstances(ExtensionSystem::IPlugin *plugin)
parameter.setDescription(basicDescription + tr("The Qt Quick Components for Symbian are a set of " parameter.setDescription(basicDescription + tr("The Qt Quick Components for Symbian are a set of "
"ready-made components that are designed with specific " "ready-made components that are designed with specific "
"native appearance for the Symbian platform.\n\nRequires " "native appearance for the Symbian platform.\n\nRequires "
"Qt 4.7.4 or newer, and the component set installed for " "<b>Qt 4.7.4</b> or newer, and the component set installed for "
"your Qt version.")); "your Qt version."));
parameter.setRequiredFeatures(basicFeatures | Core::Feature(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_SYMBIAN)); parameter.setRequiredFeatures(basicFeatures | Core::Feature(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_SYMBIAN));
list << parameter; list << parameter;
...@@ -166,7 +166,7 @@ void QtQuickAppWizard::createInstances(ExtensionSystem::IPlugin *plugin) ...@@ -166,7 +166,7 @@ void QtQuickAppWizard::createInstances(ExtensionSystem::IPlugin *plugin)
parameter.setDescription(basicDescription + tr("The Qt Quick Components for MeeGo/Harmattan are " parameter.setDescription(basicDescription + tr("The Qt Quick Components for MeeGo/Harmattan are "
"a set of ready-made components that are designed " "a set of ready-made components that are designed "
"with specific native appearance for the MeeGo/Harmattan " "with specific native appearance for the MeeGo/Harmattan "
"platform.\n\nRequires Qt 4.7.4 or newer, and the " "platform.\n\nRequires <b>Qt 4.7.4</b> or newer, and the "
"component set installed for your Qt version.")); "component set installed for your Qt version."));
parameter.setRequiredFeatures(basicFeatures | Core::Feature(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_MEEGO)); parameter.setRequiredFeatures(basicFeatures | Core::Feature(QtSupport::Constants::FEATURE_QTQUICK_COMPONENTS_MEEGO));
list << parameter; list << parameter;
...@@ -177,8 +177,8 @@ void QtQuickAppWizard::createInstances(ExtensionSystem::IPlugin *plugin) ...@@ -177,8 +177,8 @@ void QtQuickAppWizard::createInstances(ExtensionSystem::IPlugin *plugin)
"existing QML files. All files and directories that " "existing QML files. All files and directories that "
"reside in the same directory as the main QML file " "reside in the same directory as the main QML file "
"are deployed. You can modify the contents of the " "are deployed. You can modify the contents of the "
"directory any time before deploying.")); "directory any time before deploying.\n\nRequires <b>Qt 4.7.0</b> or newer."));
parameter.setRequiredFeatures(basicFeatures); parameter.setRequiredFeatures(Core::Feature(QtSupport::Constants::FEATURE_QT_QUICK));
list << parameter; list << parameter;
QList<QtQuickAppWizard*> wizardList = Core::createMultipleBaseFileWizardInstances<QtQuickAppWizard>(list, plugin); QList<QtQuickAppWizard*> wizardList = Core::createMultipleBaseFileWizardInstances<QtQuickAppWizard>(list, plugin);
......
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