QtSupport: Don't suggest to run "make install"

...if a Qt version is not properly installed. The command is "make
install" for Qt5. For Qt6, it's "ninja install", but only if a Ninja
generator is used. Since an error message isn't the right place for a
"How to install Qt" document, remove the suggestion altogether.

Change-Id: I0b50c97183e2fcd65b4cde236e5489707f1bc708
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Joerg Bornemann
2024-11-21 16:55:34 +01:00
committed by Christian Kandeler
parent 407b497ca5
commit 1b9636c8d9

View File

@@ -701,7 +701,7 @@ QString QtVersion::invalidReason() const
if (!d->m_qmakeIsExecutable) if (!d->m_qmakeIsExecutable)
return Tr::tr("qmake does not exist or is not executable"); return Tr::tr("qmake does not exist or is not executable");
if (!d->data().installed) if (!d->data().installed)
return Tr::tr("Qt version is not properly installed, please run make install"); return Tr::tr("Qt version is not properly installed");
if (binPath().isEmpty()) if (binPath().isEmpty())
return Tr::tr("Could not determine the path to the binaries of the Qt installation, " return Tr::tr("Could not determine the path to the binaries of the Qt installation, "
"maybe the qmake path is wrong?"); "maybe the qmake path is wrong?");