diff options
Diffstat (limited to 'tests/auto/tools/qdbuscpp2xml')
-rw-r--r-- | tests/auto/tools/qdbuscpp2xml/tst_qdbuscpp2xml.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/tools/qdbuscpp2xml/tst_qdbuscpp2xml.cpp b/tests/auto/tools/qdbuscpp2xml/tst_qdbuscpp2xml.cpp index a47676369c..bccca98180 100644 --- a/tests/auto/tools/qdbuscpp2xml/tst_qdbuscpp2xml.cpp +++ b/tests/auto/tools/qdbuscpp2xml/tst_qdbuscpp2xml.cpp @@ -134,7 +134,8 @@ void tst_qdbuscpp2xml::qdbuscpp2xml() } // Launch - const QString command = QLatin1String("qdbuscpp2xml"); + const QString binpath = QLibraryInfo::location(QLibraryInfo::BinariesPath); + const QString command = binpath + QLatin1String("/qdbuscpp2xml"); QProcess process; process.start(command, QStringList() << options << (QFINDTESTDATA(inputfile + QStringLiteral(".h")))); if (!process.waitForFinished()) { |