summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcase.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-05-18 00:37:52 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-05-18 00:37:52 (GMT)
commitd15888540f3b99c6add70106dda1dc1e262b8b00 (patch)
tree2e22581ed9fac85df0f24b68f4e6d3115163c31f /src/testlib/qtestcase.cpp
parent247952ec74cede6a69c718ef039e00b21a877e56 (diff)
parent35f3438ae8a06aeba7b784df8de984d9d00aeff4 (diff)
downloadQt-d15888540f3b99c6add70106dda1dc1e262b8b00.zip
Qt-d15888540f3b99c6add70106dda1dc1e262b8b00.tar.gz
Qt-d15888540f3b99c6add70106dda1dc1e262b8b00.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/testlib/qtestcase.cpp')
-rw-r--r--src/testlib/qtestcase.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index 8c76c5d..041f2db 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -1465,8 +1465,12 @@ int QTest::qExec(QObject *testObject, int argc, char **argv)
#if !defined(QT_NO_PROCESS) || !defined(QT_NO_SETTINGS)
if (QBenchmarkGlobalData::current->createChart) {
- QString chartLocation = QLibraryInfo::location(QLibraryInfo::BinariesPath)
- + QLatin1String("/../tools/qtestlib/chart/chart");
+ QString chartLocation = QLibraryInfo::location(QLibraryInfo::BinariesPath);
+#ifdef Q_OS_WIN
+ chartLocation += QLatin1String("/../tools/qtestlib/chart/release/chart.exe");
+#else
+ chartLocation += QLatin1String("/../tools/qtestlib/chart/chart");
+#endif
if (QFile::exists(chartLocation)) {
QProcess p;
p.setProcessChannelMode(QProcess::ForwardedChannels);