Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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.
    c06aa8d8-c2a8-4f4a-8941-4acc07539b1a-image.png
    a9abd33d-43b1-4e08-ba67-1b2bc8306ed7-image.png

    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:

    a1219b84-196c-481b-a761-ce657f068228-image.png

    I'm not sure if I need to do anything. Anyone can help me?

    Thanks,
    Yong



  • Well, the tutorial hasn't been updated for a long time, while the installer and qt creator on the other side have been updated a lot.
    You can ignore those if there's no compiling problems.


  • Lifetime Qt Champion

    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


Log in to reply