Qt 6.4.2 installed but no starting executable
-
Hi Team,
Looks like I am destined to use QT even after many problems are there. :)
Recently, I posted this here
https://forum.qt.io/topic/143509/can-not-install-qt-6-4-2And when I could not get an answer to that, I started to install Qt from the sources. Exactly like this:
https://doc.qt.io/qt-6/macos-building.html
Strange that even after following all the steps, I do not see qt or qtcreator in the /usr/local/Qt-6.4.2/bin directory. These are the contents of /usr/local/Qt-6.4.2/bin:
I am wondering how to even start qt now? :) I tried qt, qt-creator but to not avail.
Thank a lot in advance.
-
@bhargavah said in Qt 6.4.2 installed but no starting executable:
I started to install Qt from the sources
Why do you want to build Qt from sources?
-
@bhargavah
I don't know about getting your original question to work, doubtless it's doable. Choosing to build Qt from source is a non-trivial exercise, you will probably end up with even more problems that way. Get the download working instead. -
@bhargavah In that other thread from you you got some suggestions (changing mirror): did you try them? Building Qt just because the installer can't download from the mirror is not the right solution (simply because building Qt is far from trivial).
-
@JonB He He. I see. That is fine. Nevermind. I think we are close on the new issue. If you see the earlier screenshot, you would get that most of the things are there. In fact, I see that qt is already installed through this below screenshot.
I just need to invoke qt somehow.
-
@bhargavah I guess: add /usr/local/Qt-6.4.2/bin to $PATH at beginning of $PATH( in front of all other paths)
/usr/local/Qt-6.4.2/bin is not in the PATH currently./usr/local is not a great place. The default path of Qt installation is /opt
-
@bhargavah You can add it manually in Qt Creator.
go to Tools->Options->Kits->Qt-Versions and press Add button. Then select /usr/local/Qt-6.4.2/bin/qmakeswitch to Kits tab and click Desktop(default) under Manual. Select Qt version and click Apply button and then OK button to close Options dialog. You are good to go.
-
@bhargavah said in Qt 6.4.2 installed but no starting executable:
How to even open Qt-creator? What command should I do?
Well, did you build QtCreator? Since you desided to build Qt by yourself instead of simply using the installer you will either need to build QtCreator or download and install pre-built version...