Announcement

Collapse
No announcement yet.

How to run qdbusviewer?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] How to run qdbusviewer?

    Code:
    dkb@dkb-kuff:~$ qdbusviewer
    qdbusviewer: could not exec '/usr/lib/qt5/bin/qdbusviewer': No such file or directory
    But locate has
    Code:
    dkb@dkb-kuff:~$ locate qdbusviewer
    /usr/bin/qdbusviewer
    /usr/share/icons/breeze/apps/48/qdbusviewer.svg
    /usr/share/icons/breeze-dark/apps/48/qdbusviewer.svg
    dkb@dkb-kuff:~$
    and which has
    Code:
    dkb@dkb-kuff:~$ which qdbusviewer
    /usr/bin/qdbusviewer
    dkb@dkb-kuff:~$
    So why do I see could not exec '/usr/lib/qt5/bin/qdbusviewer': No such file or directory?
    Kubuntu 20.04

    #2
    After running sudo apt install qttools5-dev-tools, it works.
    Kubuntu 20.04

    Comment


      #3
      /usr/bin/qdbusviewer is only a symbolic link to qtchooser, which sorts out which version of Qt to run. IIRC you can set an environment variable to swap between qt4 and qt5. This mechanism was set up in the early days of qt5, which was years ago now. I'd have thought that with the qt4 purge in Eoan this kludge could be retired, but maybe some systems still need it.
      Regards, John Little

      Comment

      Working...
      X