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. QtCreator does not start from "Favorites" in Ubuntu 20.04 LTS

QtCreator does not start from "Favorites" in Ubuntu 20.04 LTS

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

    Hi,
    I have installed QtCreator 4.11.0 (based on Qt 5.12.8) on Ubuntu 20.04 LTS. When I start it in terminal, the green icon with "QC" is shown in Taskbar (or whatever is called). I then click right on icon and select "Add to Favorites". When I try to start QtCreator from that Ican (on Taskbar) it doesn't start. When I start it in terminal with qtcreator, it starts normally.
    I also activated debug flag with export QT_DEBUG_PLUGINS=1, but no error is shown in Terminal (yes, I start it from the Terminal, where I set the environment variable).
    What is the problem?
    Thanks.

    1 Reply Last reply
    0
    • AxelViennaA Offline
      AxelViennaA Offline
      AxelVienna
      wrote on last edited by
      #2

      Which desktop are you using? KDE? Gnome? Most likely the "add to favorites" function doesn't set the full path or tries to start qtcreator in a terminal window. If you run KDE, launch kmenuedit and create a new entry for QT Creator. If you use the full path to the executable and you do not activate the "run in terminal" option, it should start just fine and you can add the menu entry to your favorites later.

      C++ and Python walk into a bar. C++ reuses the first glass.

      1 Reply Last reply
      0
      • kahlenbergK Offline
        kahlenbergK Offline
        kahlenberg
        wrote on last edited by
        #3

        Ok, I solved my problem. OpenGL library was not installed.
        I looked at the journal with journalctl -f and saw the line:

        /usr/bin/qt/Tools/QtCreator/bin/qtcreator: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory
        

        Then I installed it with sudo apt install libopengl0 -y, it works now.

        1 Reply Last reply
        2

        • Login

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