forked from qt-creator/qt-creator
Docker: Detect qt6 in ubuntu container
Installing Qt 6 via the distribution packages has a misconfigured qtchooser. To allow us to find Qt6 on these systems, we directly search for "qmake6" as well. Change-Id: I43f190bd2c69a0ea818308ff47bb6d9f2968e12f Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -233,7 +233,7 @@ QtVersions KitDetectorPrivate::autoDetectQtVersions() const
|
||||
|
||||
emit q->logOutput(ProjectExplorer::Tr::tr("Searching for qmake executables..."));
|
||||
|
||||
const QStringList candidates = {"qmake-qt6", "qmake-qt5", "qmake"};
|
||||
const QStringList candidates = {"qmake6", "qmake-qt6", "qmake-qt5", "qmake"};
|
||||
for (const FilePath &searchPath : m_searchPaths) {
|
||||
searchPath.iterateDirectory(handleQmake,
|
||||
{candidates,
|
||||
|
Reference in New Issue
Block a user