Windeployqt: fix typo

Change "qpaths" to "qtpaths" since the former is not a valid option.

Fixes: QTBUG-117817
Pick-to: 6.5
Change-Id: Ib8c8c80f31c1c54747340442c6bf3185c7c69001
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 84d0ebabaab38a900b74bb0f384f46f3c9a400d2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Timothée Keller 2023-10-05 13:36:51 +02:00 committed by Qt Cherry-pick Bot
parent 628f875b7a
commit f4b91d595c

View File

@ -266,7 +266,7 @@ static int parseEarlyArguments(const QStringList &arguments, Options *options,
} }
if (parser.isSet(qmakeOption) && optVerboseLevel >= 1) if (parser.isSet(qmakeOption) && optVerboseLevel >= 1)
std::wcerr << "Warning: -qmake option is deprecated. Use -qpaths instead.\n"; std::wcerr << "Warning: -qmake option is deprecated. Use -qtpaths instead.\n";
if (parser.isSet(qtpathsOption) || parser.isSet(qmakeOption)) { if (parser.isSet(qtpathsOption) || parser.isSet(qmakeOption)) {
const QString qtpathsArg = parser.isSet(qtpathsOption) ? parser.value(qtpathsOption) const QString qtpathsArg = parser.isSet(qtpathsOption) ? parser.value(qtpathsOption)