Qt 6.4.2 installed but no starting executable
-
@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...