OSDN Git Service

Mark QML support in Qt Creator 2.0 as preview
authorDaniel Molkentin <daniel.molkentin@nokia.com>
Mon, 31 May 2010 14:36:48 +0000 (16:36 +0200)
committerDaniel Molkentin <daniel.molkentin@nokia.com>
Mon, 31 May 2010 14:37:17 +0000 (16:37 +0200)
Reviewed-by: Kai Koehne
share/qtcreator/templates/wizards/qml-runtime/wizard.xml
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
src/plugins/qmlprojectmanager/qmlprojectconstants.h
src/plugins/qmlprojectmanager/qmlprojectimportwizard.cpp
src/plugins/qt4projectmanager/gettingstartedwelcomepagewidget.ui

index 5800b8e..9b5e58e 100644 (file)
@@ -38,7 +38,9 @@ leave room for the Qt 4 target page.
         class="qt4project" firstpage="10"
         id="QmlRuntimePlugin" category="F.Projects">
     <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>
     <displaycategory>QML Runtime Plug-in</displaycategory>
     <files>
index 4edc885..0909e5f 100644 (file)
@@ -73,6 +73,13 @@ Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters()
     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"
                                  "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.setDisplayCategory(QCoreApplication::translate(Constants::QML_WIZARD_TR_SCOPE,
                                                               Constants::QML_WIZARD_TR_CATEGORY));
index 1fd0426..849e9a6 100644 (file)
@@ -52,7 +52,7 @@ const char *const TASK_CATEGORY_QML = "Task.Category.Qml";
 // Wizard category
 const char * const QML_WIZARD_CATEGORY = "F.Projects"; // (after Qt)
 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";
 
 // Env variables for inspector
index a8d1349..0e2d184 100644 (file)
@@ -116,6 +116,15 @@ Core::BaseFileWizardParameters QmlProjectImportWizard::parameters()
     parameters.setDisplayName(tr("Import Existing Qt QML Directory"));
     parameters.setId(QLatin1String("QI.QML Import"));
     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.setDisplayCategory(QCoreApplication::translate(Constants::QML_WIZARD_TR_SCOPE,
                                                               Constants::QML_WIZARD_TR_CATEGORY));
index 9f03d49..a46f113 100644 (file)
@@ -61,9 +61,7 @@
           </widget>
          </item>
          <item row="1" column="0">
-          <widget class="Utils::WelcomeModeTreeWidget" name="tutorialTreeWidget" native="true">
-           <zorder></zorder>
-          </widget>
+          <widget class="Utils::WelcomeModeTreeWidget" name="tutorialTreeWidget" native="true"/>
          </item>
         </layout>
        </widget>
          <item>
           <widget class="Utils::WelcomeModeLabel" name="demoTitleLabel_2">
            <property name="text">
-            <string>Explore Qt Quick Examples</string>
+            <string>Explore Qt Quick (Preview) Examples</string>
            </property>
           </widget>
          </item>