diff --git a/tests/tools/qtquickappblaster/main.cpp b/tests/tools/qtquickappblaster/main.cpp index 4f1b0668b82e747ee342e1a0580856fb8b33d761..9ac3896d53e4ec40fd78ca525b6c45ee48b33503 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 9a5d5fd77f57267d4e686d07b7442f1e72f52896..8e40ce4a3ee73ed4bc18c9191aae2ea4c117b89d 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"