qttools5-dev-tools: qdbusviewer - No such file

Bug #1405711 reported by emlinux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qttools-opensource-src (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Rebecca - 17.1 Cinnamon -
 Installed qttools5-dev-tools (and kdelibs-bin kdelibs5-data kdelibs5-plugins as per Mint 17.1 release notes).

qtchooser chooses wrong path ; qt4 insead of qt5

Running command:
# qdbusviewer
qdbusviewer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qdbusviewer': No such file or directory

ls -l /usr/bin/qdbusviewer
lrwxrwxrwx 1 root root 9 Dec 14 21:11 /usr/bin/qdbusviewer -> qtchooser

find /usr -name qdbusviewer
/usr/lib/x86_64-linux-gnu/qt5/bin/qdbusviewer
(this is correct path - program works)

Vlad Orlov (monsta)
affects: linuxmint → qttools-opensource-src (Ubuntu)
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This is how it works, and upstream does not agree to change this behavior.

Just install qt5-default and it will work fine.

Changed in qttools-opensource-src (Ubuntu):
status: New → Invalid
Revision history for this message
emlinux (joel-emlinux) wrote : Re: [Bug 1405711] Re: qttools5-dev-tools: qdbusviewer - No such file

On 12/27/2014 9:32 AM, Dmitry Shachnev wrote:
> This is how it works, and upstream does not agree to change this
> behavior.
>
> Just install qt5-default and it will work fine.
>
> ** Changed in: qttools-opensource-src (Ubuntu)
> Status: New => Invalid
>
It would be helpful to upgrade the dependencies so that a installation
will work correctly.

Revision history for this message
Jacek Sandomierz (yatsek) wrote :

Because this is one of top posts being shown in Google search for problems with qdbusviewer and they persist also on 18.04 here is the solution:

1. Find an error message. In my case (even after installing default):

    qdbusviewer: could not exec '/usr/lib/qt5/bin/qdbusviewer': No such file or directory

2. Find in which package is file being reported as missing:

    $ apt-file search /usr/lib/qt5/bin/qdbusviewer
    qttools5-dev-tools: /usr/lib/qt5/bin/qdbusviewer

3. Install found package:

   $ sudo apt install qttools5-dev-tools

Voila!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.