diff options
Diffstat (limited to 'tests/auto/uic3/tst_uic3.cpp')
-rw-r--r-- | tests/auto/uic3/tst_uic3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/uic3/tst_uic3.cpp b/tests/auto/uic3/tst_uic3.cpp index cc5a66f..5c6c6bf 100644 --- a/tests/auto/uic3/tst_uic3.cpp +++ b/tests/auto/uic3/tst_uic3.cpp @@ -45,6 +45,7 @@ #include <QtCore/QProcess> #include <QtCore/QByteArray> #include <QtCore/QString> +#include <QtCore/QLibraryInfo> #ifndef Q_OS_WINCE @@ -72,7 +73,7 @@ private: tst_uic3::tst_uic3() : uic3Exists(true) - , command(QLatin1String("uic3")) + , command(QLibraryInfo::location(QLibraryInfo::BinariesPath) + QLatin1String("/uic3")) { } |