summaryrefslogtreecommitdiff
path: root/tests/auto/uic
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-08-06 13:44:12 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-08-06 13:44:12 +0200
commit4a1785247d7e845b3d1c2023e43558f6a372581b (patch)
treecb9e2d7fdd2ed4fd0ef9da40a62a51761c2ef8df /tests/auto/uic
parent2397a17862ff61082639bc7a80daa8a8ac7e9949 (diff)
downloadqt4-tools-4a1785247d7e845b3d1c2023e43558f6a372581b.tar.gz
Tests: Make uic/uic3 use QLibraryInfo paths as do the linguist tests.
Diffstat (limited to 'tests/auto/uic')
-rw-r--r--tests/auto/uic/tst_uic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/uic/tst_uic.cpp b/tests/auto/uic/tst_uic.cpp
index b605aa9298..827b3aa7b8 100644
--- a/tests/auto/uic/tst_uic.cpp
+++ b/tests/auto/uic/tst_uic.cpp
@@ -45,6 +45,7 @@
#include <QtTest/QtTest>
#include <QtCore/QProcess>
#include <QtCore/QByteArray>
+#include <QtCore/QLibraryInfo>
#ifndef Q_OS_WINCE
@@ -77,7 +78,7 @@ private:
tst_uic::tst_uic()
: uicExists(true)
- , command(QLatin1String("uic"))
+ , command(QLibraryInfo::location(QLibraryInfo::BinariesPath) + QLatin1String("/uic"))
{
}