summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib
diff options
context:
space:
mode:
authorninerider <qt-info@nokia.com>2010-02-22 08:34:19 (GMT)
committerninerider <qt-info@nokia.com>2010-02-22 08:34:19 (GMT)
commit0a1e2e645bc1952c89d6ef560eccbe68e51f6ca8 (patch)
tree1500bf5af28bb03ec86de2b39a2e91a60c607de3 /tests/benchmarks/corelib
parent0afed6da3d040814a686b507a981b0fc7eb14c32 (diff)
downloadQt-0a1e2e645bc1952c89d6ef560eccbe68e51f6ca8.zip
Qt-0a1e2e645bc1952c89d6ef560eccbe68e51f6ca8.tar.gz
Qt-0a1e2e645bc1952c89d6ef560eccbe68e51f6ca8.tar.bz2
Fixes for the Windows Mobile plattform
These fixes mainly concern compiling issues.
Diffstat (limited to 'tests/benchmarks/corelib')
-rw-r--r--tests/benchmarks/corelib/io/qdir/10000/bench_qdir_10000.cpp2
-rw-r--r--tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/corelib/io/qdir/10000/bench_qdir_10000.cpp b/tests/benchmarks/corelib/io/qdir/10000/bench_qdir_10000.cpp
index b325250..1238804 100644
--- a/tests/benchmarks/corelib/io/qdir/10000/bench_qdir_10000.cpp
+++ b/tests/benchmarks/corelib/io/qdir/10000/bench_qdir_10000.cpp
@@ -156,6 +156,7 @@ private slots:
}
void sizeSpeedWithoutFilterLowLevel() {
+ QDir testdir(QDir::tempPath() + QLatin1String("/test_speed"));
#ifdef Q_OS_WIN
const wchar_t *dirpath = (wchar_t*)testdir.absolutePath().utf16();
wchar_t appendedPath[MAX_PATH];
@@ -173,7 +174,6 @@ private slots:
}
FindClose(hSearch);
#else
- QDir testdir(QDir::tempPath() + QLatin1String("/test_speed"));
DIR *dir = opendir(qPrintable(testdir.absolutePath()));
QVERIFY(dir);
diff --git a/tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro b/tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro
index 295cb50..eca619f 100644
--- a/tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro
+++ b/tests/benchmarks/corelib/io/qfileinfo/qfileinfo.pro
@@ -1,6 +1,6 @@
load(qttest_p4)
TEMPLATE = app
-TARGET = qfileinfo
+TARGET = tst_qfileinfo
DEPENDPATH += .
INCLUDEPATH += .