diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-03-10 15:02:13 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-04-15 08:55:21 +0000 |
commit | 280af371c3cb025378a1dec41a6d462164c4b497 (patch) | |
tree | 73584c4faeb409ed1d7c4217d9e99bb59106d27c /tests/auto/checkxmlfiles | |
parent | 2964bffaa5a8b9f5a11428548a1922b9389f0df1 (diff) | |
download | qtxmlpatterns-280af371c3cb025378a1dec41a6d462164c4b497.tar.gz |
Remove Windows CE.
Remove #ifdef sections for Q_OS_WINCE and wince .pro file clauses.
Task-number: QTBUG-51673
Change-Id: Id03f665883a501105e76c2842fb7c0fbf3086687
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/auto/checkxmlfiles')
-rw-r--r-- | tests/auto/checkxmlfiles/checkxmlfiles.pro | 15 | ||||
-rw-r--r-- | tests/auto/checkxmlfiles/tst_checkxmlfiles.cpp | 7 |
2 files changed, 2 insertions, 20 deletions
diff --git a/tests/auto/checkxmlfiles/checkxmlfiles.pro b/tests/auto/checkxmlfiles/checkxmlfiles.pro index 31301b9..6f71e5b 100644 --- a/tests/auto/checkxmlfiles/checkxmlfiles.pro +++ b/tests/auto/checkxmlfiles/checkxmlfiles.pro @@ -6,17 +6,4 @@ QT = core gui testlib include (../xmlpatterns.pri) -wince*: { -QT += network -requires(!isEmpty(_QMAKE_SUPER_CACHE_)) -addFiles.files = \ - ../../../examples/xquery/globalVariables/globals.gccxml \ - ../../../../qtdoc/doc/src/diagrams/stylesheet/treeview.svg \ - ../../../../qtdoc/doc/src/diagrams/designer-manual/designer-mainwindow-actions.ui \ - ../../../../qtsql/examples/sql/masterdetail/albumdetails.xml \ - ../../../../qtbase/examples/widgets/tools/undo/undo.qrc -addFiles.path = xmlfiles -DEPLOYMENT += addFiles -} else { - DEFINES += SOURCETREE=\\\"$$absolute_path(../../..)/\\\" -} +DEFINES += SOURCETREE=\\\"$$absolute_path(../../..)/\\\" diff --git a/tests/auto/checkxmlfiles/tst_checkxmlfiles.cpp b/tests/auto/checkxmlfiles/tst_checkxmlfiles.cpp index 2afdaf7..625dbcc 100644 --- a/tests/auto/checkxmlfiles/tst_checkxmlfiles.cpp +++ b/tests/auto/checkxmlfiles/tst_checkxmlfiles.cpp @@ -83,12 +83,7 @@ void tst_CheckXMLFiles::checkXMLFiles_data() const /* We don't do HTML files currently because so many of them in 3rd party are broken. */ patterns.append(QLatin1String("*.xhtml")); -#ifndef Q_OS_WINCE - QString path = QLatin1String(SOURCETREE); -#else - QString path = QFINDTESTDATA("xmlfiles"); -#endif - QDirIterator it(path, patterns, QDir::AllEntries, QDirIterator::Subdirectories); + QDirIterator it(QLatin1String(SOURCETREE), patterns, QDir::AllEntries, QDirIterator::Subdirectories); while(it.hasNext()) { it.next(); |