diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-11-18 15:36:52 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-11-18 15:37:33 +0100 |
commit | 1c18090b90f9b4ca1a3c3ae1c5f01a0d410ba8a9 (patch) | |
tree | 2e17e61c87329856d69df88031f5706b492b9e04 /tests/tools/qtquickappblaster | |
parent | 0762e4f8d9e728f6e6a604615621dcd19a6f7a48 (diff) |
Fixing the generation of examples.
Diffstat (limited to 'tests/tools/qtquickappblaster')
-rw-r--r-- | tests/tools/qtquickappblaster/main.cpp | 4 | ||||
-rw-r--r-- | tests/tools/qtquickappblaster/qtquickapps.xml | 43 |
2 files changed, 45 insertions, 2 deletions
diff --git a/tests/tools/qtquickappblaster/main.cpp b/tests/tools/qtquickappblaster/main.cpp index 4f1b0668b8..9ac3896d53 100644 --- a/tests/tools/qtquickappblaster/main.cpp +++ b/tests/tools/qtquickappblaster/main.cpp @@ -16,7 +16,7 @@ bool processXmlFile(const QString &xmlFile) const QLatin1String attrib_screenOrientation("screenorientation"); const QLatin1String value_screenOrientationLockLandscape("LockLandscape"); const QLatin1String value_screenOrientationLockPortrait("LockPortrait"); - const QLatin1String attrib_networkAccess("networkAccess"); + const QLatin1String attrib_networkAccess("networkaccess"); static const QString qtDir = QLibraryInfo::location(QLibraryInfo::PrefixPath) + QLatin1Char('/'); @@ -79,7 +79,7 @@ bool processXmlFile(const QString &xmlFile) } if (reader.attributes().hasAttribute(attrib_networkAccess)) qmlApp.setNetworkEnabled( - reader.attributes().value(attrib_networkAccess) == QLatin1String("true")); + reader.attributes().value(attrib_networkAccess).toString() == QLatin1String("true")); if (!qmlApp.generateFiles(0)) qDebug() << "Unable to generate the files for" << qmlApp.projectName(); } diff --git a/tests/tools/qtquickappblaster/qtquickapps.xml b/tests/tools/qtquickappblaster/qtquickapps.xml index 9a5d5fd77f..8e40ce4a3e 100644 --- a/tests/tools/qtquickappblaster/qtquickapps.xml +++ b/tests/tools/qtquickappblaster/qtquickapps.xml @@ -1,5 +1,46 @@ <?xml version="1.0" encoding="UTF-8"?> <qmlapps> +<!-- + <app + mainqmlfile="demos/declarative/calculator/calculator.qml" + projectpath="../examples/declarative/demos" + /> + <app + mainqmlfile="demos/declarative/flickr/flickr.qml" + projectpath="../examples/declarative/demos" + networkaccess="true" + screenorientation="LockPortrait" + /> + <app + mainqmlfile="demos/declarative/photoviewer/photoviewer.qml" + projectpath="../examples/declarative/demos" + networkaccess="true" + screenorientation="LockPortrait" + /> + <app + mainqmlfile="demos/declarative/rssnews/rssnews.qml" + projectpath="../examples/declarative/demos" + networkaccess="true" + screenorientation="LockLandscape" + /> + <app + mainqmlfile="demos/declarative/samegame/samegame.qml" + projectpath="../examples/declarative/demos" + screenorientation="LockPortrait" + /> + <app + mainqmlfile="demos/declarative/twitter/twitter.qml" + projectpath="../examples/declarative/demos" + networkaccess="true" + screenorientation="LockPortrait" + /> + <app + mainqmlfile="demos/declarative/webbrowser/webbrowser.qml" + projectpath="../examples/declarative/demos" + networkaccess="true" + screenorientation="LockPortrait" + /> +--> <app mainqmlfile="examples/declarative/animation/basics/property-animation.qml" projectpath="../examples/declarative/animation/basics" @@ -176,11 +217,13 @@ projectpath="../examples/declarative/modelviews" screenorientation="LockLandscape" /> +<!-- <app mainqmlfile="examples/declarative/modelviews/parallax/parallax.qml" projectpath="../examples/declarative/modelviews" screenorientation="LockLandscape" /> +--> <app mainqmlfile="examples/declarative/modelviews/visualitemmodel/visualitemmodel.qml" projectpath="../examples/declarative/modelviews" |