diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-09-18 13:34:41 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-09-18 20:56:16 +0200 |
commit | 907093e9fbc3725a50dce2bc9b14dd8182616a29 (patch) | |
tree | b344bb3dfb661258afce4025e42094a151f9c8f8 | |
parent | 35d963c599471e7c5bb11d06850be7d05830e7cd (diff) |
QDoc: Fix deprecation warning in test
Change-Id: Id49e23c5711d1d03319e772f7942634765731116
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r-- | tests/auto/qdoc/generatedoutput/tst_generatedoutput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qdoc/generatedoutput/tst_generatedoutput.cpp b/tests/auto/qdoc/generatedoutput/tst_generatedoutput.cpp index d95d9b975..bf22e44ed 100644 --- a/tests/auto/qdoc/generatedoutput/tst_generatedoutput.cpp +++ b/tests/auto/qdoc/generatedoutput/tst_generatedoutput.cpp @@ -92,7 +92,7 @@ private: void tst_generatedOutput::initTestCase() { // Build the path to the QDoc binary the same way moc tests do for moc. - const auto binpath = QLibraryInfo::location(QLibraryInfo::BinariesPath); + const auto binpath = QLibraryInfo::path(QLibraryInfo::BinariesPath); const auto extension = QSysInfo::productType() == "windows" ? ".exe" : ""; m_qdoc = binpath + QLatin1String("/qdoc") + extension; m_expectedDir.setPath(QFINDTESTDATA(".") + QLatin1String("/expected_output")); |