Results 1 to 3 of 3

Thread: How to run qdbusviewer?

  1. Back To Top    #1
    Kubuntu as a Second Language
    Join Date
    Mar 2013
    Posts
    1,195
    Threads
    192
    Local Date
    Jun 5th 2020
    Local Time
    03:48 PM

    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 18.04 with Baloo file search and content indexing
    KDE neon 18.04 User Edition with Baloo file search and content indexing

  2. Back To Top    #2
    Kubuntu as a Second Language
    Join Date
    Mar 2013
    Posts
    1,195
    Threads
    192
    Local Date
    Jun 5th 2020
    Local Time
    03:48 PM
    After running sudo apt install qttools5-dev-tools, it works.
    Kubuntu 18.04 with Baloo file search and content indexing
    KDE neon 18.04 User Edition with Baloo file search and content indexing

  3. Back To Top    #3
    Kubuntu as a Second Language
    Join Date
    Apr 2008
    Location
    Auckland, New Zealand
    Posts
    1,889
    Threads
    68
    Local Date
    Jun 6th 2020
    Local Time
    03:48 AM
    /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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •