Install Qt 5.14.2 on Ubuntu 20.04
-
Hi Qt team,
I'm new to Qt and sorry if my question sounds naive
I've followed instructions from https://wiki.qt.io/Install_Qt_5_on_Ubuntu. My Ubuntu OS is the latest release 20.04, and I've downloaded open source version of Qt 5.14.2 (qt-opensource-linux-x64-5.14.2.run) for the Qt installation. Everything is straightforward, except the following:
Configure a compiler
Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.-> If I click Build & Run, I don't see tab Kit. There's a tab Kits shown on the left hand side of the menu, same level as Build & Run. Below is the screenshot, since I see a list of compilers are listed under Kits, I choose not do anything.
Set file association with pro files
When installing from the on-line source the file association is not done automatically. It also not show up when you try to associate it with file explorer. Create a file named “Qt-Creator.desktop” and fill the file with the following.-> I'm confused the most in this section. I'm not sure what I need to do here. I've seen org.qt-project.qtcreator.desktop file under .local/share/application/ already with following content:
I'm not sure if I need to do anything. Anyone can help me?
Thanks,
Yong -
Hi @zebra,
it seems the wiki is a bit outdated here.
Kits are indeed an own section now, and you have compilrs there. Thats good!
As for the desktop file, if you already have one thete I think its fine. I actually nevr remember doing anything special in that regards, and I'm using Ubuntu with Creator for years now.
Regards