Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Install Qt 5.14.2 on Ubuntu 20.04
Forum Updated to NodeBB v4.3 + New Features

Install Qt 5.14.2 on Ubuntu 20.04

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 18.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zebra
    wrote on last edited by
    #1

    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

    aha_1980A 1 Reply Last reply
    0
    • B Offline
      B Offline
      Bonnie
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      2
      • Z zebra

        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

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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

        Qt has to stay free or it will die.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved