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 6.7.2 tools suddenly stopped working
Forum Updated to NodeBB v4.3 + New Features

Qt 6.7.2 tools suddenly stopped working

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

    I’m running Qt 6.7.2 on ubuntu 22.04.3. I installed Q6 6.7.2 in HOME with the online installer tool. Somehow my installed Qt tools have stopped working. E.g. qtcreator now fails with:

    % qtcreator
    qtcreator: $HOME/Qt6/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6: version `Qt_6.7' not found (required by $HOME/Qt6//6.7.2/gcc_64/lib/libQt6DBus.so.6)
    

    I get the same error for qtdesignstudio.
    I get the same error if I execute directly from qtcreator bin/ directory:

    % cd $HOME/Qt6/Tools/QtCreator/bin
    ./qtcreator
    ./qtcreator: $HOME/Qt6/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6: version `Qt_6.7' not found (required by $HOME/Qt6/6.7.2/gcc_64//lib/libQt6DBus.so.6)
    

    My PATH and LD_LIBRARY_PATH are set as follows:

    % echo $PATH
    $HOME/Qt6/Tools/QtDesignStudio/bin:$HOME/Qt6/Tools/QtCreator/bin:$HOME/Qt6/6.7.2/gcc_64/bin:/usr/lib/ccache:/opt/gcc-arm-none-eabi-10-2020-q4-major/bin:$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:$HOME/.local/bin
    
    % echo $LD_LIBRARY_PATH 
    $HOME/Qt6//6.7.2/gcc_64/lib:
    

    These failures are mysterious, as the tools were working last time I tried them several weeks ago, and I don't know what relevant changes I've made to my system.

    Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Why are you setting LD_LIBRARY_PATH like that ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Tom assoT 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        Why are you setting LD_LIBRARY_PATH like that ?

        Tom assoT Offline
        Tom assoT Offline
        Tom asso
        wrote on last edited by
        #3

        @SGaist - I am almost sure LD_LIBRARY_CODE was set that way when tools were working. But I unset LD_LIBRARY_PATH and now the tools are working! Thanks!

        1 Reply Last reply
        1
        • Tom assoT Tom asso has marked this topic as solved on

        • Login

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