Skip to content
Snippets Groups Projects
Commit 74bd95d3 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Mark QML support in Qt Creator 2.0 as preview

Reviewed-by: Kai Koehne
parent d349cafe
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,9 @@ leave room for the Qt 4 target page. ...@@ -38,7 +38,9 @@ leave room for the Qt 4 target page.
class="qt4project" firstpage="10" class="qt4project" firstpage="10"
id="QmlRuntimePlugin" category="F.Projects"> id="QmlRuntimePlugin" category="F.Projects">
<icon>lib.png</icon> <icon>lib.png</icon>
<description>Creates a C++ plugin to extend the funtionality of the QML runtime.</description> <description>Creates a C++ plugin to extend the funtionality of the QML runtime.
Note: The Qt Quick specific features are based on a preview version of the Qt 4.7 package. Please update to a more recent version of Qt Creator as soon as Qt 4.7 has been released.</description>
<displayname>QML Runtime Plug-in</displayname> <displayname>QML Runtime Plug-in</displayname>
<displaycategory>QML Runtime Plug-in</displaycategory> <displaycategory>QML Runtime Plug-in</displaycategory>
<files> <files>
......
...@@ -73,6 +73,13 @@ Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters() ...@@ -73,6 +73,13 @@ Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters()
parameters.setId(QLatin1String("QA.QML Application")); parameters.setId(QLatin1String("QA.QML Application"));
parameters.setDescription(tr("Creates a Qt QML application project with a single QML file containing the main view.\n\n" parameters.setDescription(tr("Creates a Qt QML application project with a single QML file containing the main view.\n\n"
"QML application projects are executed through the QML runtime and do not need to be built.")); "QML application projects are executed through the QML runtime and do not need to be built."));
// TODO: Remove me when Qt 4.7 is out
parameters.setDescription(parameters.description() +
tr("\n\nNote: The Qt Quick specific features are based on a preview version "
"of the Qt 4.7 package. Please update to a more recent version of Qt "
"Creator as soon as Qt 4.7 has been released."));
parameters.setCategory(QLatin1String(Constants::QML_WIZARD_CATEGORY)); parameters.setCategory(QLatin1String(Constants::QML_WIZARD_CATEGORY));
parameters.setDisplayCategory(QCoreApplication::translate(Constants::QML_WIZARD_TR_SCOPE, parameters.setDisplayCategory(QCoreApplication::translate(Constants::QML_WIZARD_TR_SCOPE,
Constants::QML_WIZARD_TR_CATEGORY)); Constants::QML_WIZARD_TR_CATEGORY));
......
...@@ -52,7 +52,7 @@ const char *const TASK_CATEGORY_QML = "Task.Category.Qml"; ...@@ -52,7 +52,7 @@ const char *const TASK_CATEGORY_QML = "Task.Category.Qml";
// Wizard category // Wizard category
const char * const QML_WIZARD_CATEGORY = "F.Projects"; // (after Qt) const char * const QML_WIZARD_CATEGORY = "F.Projects"; // (after Qt)
const char * const QML_WIZARD_TR_SCOPE = "QmlProjectManager"; const char * const QML_WIZARD_TR_SCOPE = "QmlProjectManager";
const char * const QML_WIZARD_TR_CATEGORY = QT_TRANSLATE_NOOP("QmlProjectManager", "Qt Quick Project"); const char * const QML_WIZARD_TR_CATEGORY = QT_TRANSLATE_NOOP("QmlProjectManager", "Qt Quick Project (Preview)");
const char * const QML_WIZARD_ICON = ":/qmlproject/images/qml_wizard.png"; const char * const QML_WIZARD_ICON = ":/qmlproject/images/qml_wizard.png";
// Env variables for inspector // Env variables for inspector
......
...@@ -116,6 +116,15 @@ Core::BaseFileWizardParameters QmlProjectImportWizard::parameters() ...@@ -116,6 +116,15 @@ Core::BaseFileWizardParameters QmlProjectImportWizard::parameters()
parameters.setDisplayName(tr("Import Existing Qt QML Directory")); parameters.setDisplayName(tr("Import Existing Qt QML Directory"));
parameters.setId(QLatin1String("QI.QML Import")); parameters.setId(QLatin1String("QI.QML Import"));
parameters.setDescription(tr("Creates a QML project from an existing directory of QML files.")); parameters.setDescription(tr("Creates a QML project from an existing directory of QML files."));
// TODO: Remove me when Qt 4.7 is out
parameters.setDescription(parameters.description() +
tr("\n\nNote: The Qt Quick specific features are based on a preview version "
"of the Qt 4.7 package. Please update to a more recent version of Qt "
"Creator as soon as Qt 4.7 has been released."));
parameters.setCategory(QLatin1String(Constants::QML_WIZARD_CATEGORY)); parameters.setCategory(QLatin1String(Constants::QML_WIZARD_CATEGORY));
parameters.setDisplayCategory(QCoreApplication::translate(Constants::QML_WIZARD_TR_SCOPE, parameters.setDisplayCategory(QCoreApplication::translate(Constants::QML_WIZARD_TR_SCOPE,
Constants::QML_WIZARD_TR_CATEGORY)); Constants::QML_WIZARD_TR_CATEGORY));
......
...@@ -61,9 +61,7 @@ ...@@ -61,9 +61,7 @@
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="Utils::WelcomeModeTreeWidget" name="tutorialTreeWidget" native="true"> <widget class="Utils::WelcomeModeTreeWidget" name="tutorialTreeWidget" native="true"/>
<zorder></zorder>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>
...@@ -139,7 +137,7 @@ ...@@ -139,7 +137,7 @@
<item> <item>
<widget class="Utils::WelcomeModeLabel" name="demoTitleLabel_2"> <widget class="Utils::WelcomeModeLabel" name="demoTitleLabel_2">
<property name="text"> <property name="text">
<string>Explore Qt Quick Examples</string> <string>Explore Qt Quick (Preview) Examples</string>
</property> </property>
</widget> </widget>
</item> </item>
......
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