Add qtpaths6 alias

Make qtpaths also available under qtpaths6. In  fef850c51a, qtpaths
got extended to replicate the 'qmake -query' behavior. This was meant for
IDE's like Qt Creator, so that they can use qtpaths instead of qmake to
identify Qt versions.

Anyhow, since qtpaths was also available in Qt 5, letting users just select
_any_ qtpaths executable won't work for this purpose. Adding qtpaths6 - like
qmake 6 - allows IDE's to query for a Qt 6 qtpaths.

Pick-to: 6.2
Task-number: QTCREATORBUG-25546
Change-Id: Ifc7e1a76b26cf706872db1bb1f9d3de5f006de24
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
bb10
Kai Köhne 2021-07-15 15:06:56 +02:00 committed by Kai Koehne
parent ff1c12376b
commit 1a43be7893
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ qt_get_tool_target_name(target_name qtpaths)
qt_internal_add_tool(${target_name}
TARGET_DESCRIPTION "Qt tool that provides the standard paths of the Qt framework"
TOOLS_TARGET Core
INSTALL_VERSIONED_LINK
SOURCES
qtpaths.cpp
DEFINES