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. How to use Qt 5.15 on ubuntu 20.04
Forum Updated to NodeBB v4.3 + New Features

How to use Qt 5.15 on ubuntu 20.04

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 794 Views 1 Watching
  • 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.
  • DragoonD Offline
    DragoonD Offline
    Dragoon
    wrote on last edited by
    #1

    Hallo,

    I'm running Qt dev environment on ubuntu 20.04 and I need to compile sources of an application which requires Qt 5.15 (https://github.com/mavlink/qgroundcontrol/).
    I installed the base package of qt 5.15 under /opt/qt515... I set Qt Creator trough tools->Qt version to use also Qt 15.5 (pointing to the specific qmake version)... source is not compiling at all ... application .pro file contains this check:

    !contains(CONFIG, DISABLE_QT_VERSION_CHECK) {
        !equals(QT_MAJOR_VERSION, 5) | !equals(QT_MINOR_VERSION, 15) {
            error("Unsupported Qt version, 5.15 is required")
        }
    }
    

    And of course this's the only error I got when I try to build/clean the source code.
    What I'm missing?

    Best regards,
    Mike

    bye by[t]e{s}... Mike

    1 Reply Last reply
    0
    • JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #2

      if you do not select build dir, qt creator will create one for you with name like
      Desktop_Qt_5_15_2_GCC_64bit-Debug or
      Desktop_Qt_5_15_2_GCC_64bit-Release
      Click Projects->Build
      check if there is Qt_5_15_2_GCC_64bit in the build directory on General Pane.
      If not, that means your Qt selection does not work. Go select Qt 15.5 again on Options and do not forget to click Apply button. Otherwise, it is not selected.

      I guess qgroundcontrol needs 5.15.2.

      1 Reply Last reply
      0

      • Login

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