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. Qt Creator setup on Ubuntu 20.04 LTS
Qt 6.11 is out! See what's new in the release blog

Qt Creator setup on Ubuntu 20.04 LTS

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 4.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.
  • D Offline
    D Offline
    ddrake999
    wrote on last edited by
    #1

    Hi, I'm trying to start using QT5 with QtCreator on a fresh install of Ubuntu 20.04.3 LTS. I've done the following install steps:

    sudo apt install build-essential qtcreator qt5-default qtbase5-examples
    

    I can open Qt Creator, but no examples show. Under Options > Qt Versions, there are no qmake versions in "Auto-detected" or "Manual". I find qmake in three locations on my system:

    • there is a symlink /usr/bin/qmake which links to /usr/bin/qtchooser w/usr/bin/qmake (this is first in my path so it's what I see if I do which qmake). If I select this location, I see version name: "Qt %{Qt:Version} (qt5)", qmake location: /usr/lib/qt5/bin/qmake, no qmlscene installed.
    • there is a symlink /usr/lib/x86_64-linux-gnu/qt5/bin/qmake which links to /usr/bin/x86_64-linux-gnu-qmake. If I select this, I see version name: "Qt %{Qt:Version} (qt5)", qmake location: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake, no qmlscene installed.
    • there is /usr/lib/qt5/bin/qmake. If I select this, I see version name: "Qt %{Qt:Version} (qt5)", qmake location: /usr/lib/qt5/bin/qmake, no qmlscene installed.

    In each case, after setting the qmake, the drop-down list in Examples shows Qt 5.12.8, but no examples appear. I appreciate any help on this!

    Best,
    Dow

    1 Reply Last reply
    0
    • D Offline
      D Offline
      ddrake999
      wrote on last edited by ddrake999
      #2

      After additionally installing these dependencies: sudo apt install qt5-doc qt5-doc-html qtbase5-doc-html
      the examples appeared.

      To get some desktop examples to build, I also had to install these: sudo apt install cmake clang-8 libclang1-8 and then make sure that the qt-version and cmake-tool were set in Tools > Options > Kits

      Edit: I ended up selecting /usr/lib/qt5/bin/qmake (I think the other qmake scripts would also work), the "no qmlscene installed" message is still present, but doesn't seem to be a problem.

      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