FS#36116 - [qdbus-qt4] doesn't support TAB button

Attached to Project: Arch Linux
Opened by mkkot (mkkot) - Friday, 12 July 2013, 11:11 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 06 November 2013, 22:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I'm not sure if it's really a bug, and I'm not a qt expert, but it seems that due to renaming the qdbus to qdbus-qt4 it is not possible to use tab button anymore while browsing session or system messagebus, for example: qdbus-qt4 org.[TAB] doesn't work. QT_SELECT=4 doesn't help.

Additional info:
* package version(s)
qtchooser: 31-1
qt4: 4.8.5-1
* config and/or log files etc.


Steps to reproduce:
open a terminal, type qdbus-qt4 org. and press tab. No hints. There should be hints of the bus tree.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 06 November 2013, 22:52 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see comments
Comment by Jan de Groot (JGC) - Friday, 12 July 2013, 11:37 GMT
That's probably because bash-completion uses qdbus instead of qdbus-qt4 for completion. qdbus is wrapped in qtchooser, so if you type QT_SELECT=4 qdbus org.[TAB] it should autocomplete.
Comment by mkkot (mkkot) - Friday, 12 July 2013, 11:40 GMT
Thanks for your answer. Unfortunately it doesn't autocomplete with QT_SELECT=4 as I mentioned already. Maybe it's because of:

qdbus: could not exec '/usr/lib/qt/bin/qdbus': No such file or directory
Comment by Vlalislav (dumphblooz) - Sunday, 06 October 2013, 11:14 GMT
Have same throuble:

$ qdbus org.kde.kded /kded org.kde.kded.unloadModule randrmonitor
qdbus: could not exec '/usr/lib/qt/bin/qdbus': No such file or directory
Comment by Andrea Scarpino (BaSh) - Wednesday, 06 November 2013, 22:52 GMT
@mkkot
what Jan suggests is to install qtchooser and export QT_SELECT=4. Then use qmake (which will point to /usr/lib/qt4/bin/qmake).

The 'issue' is that qmake-qt4 isn't recognized by the bash-completion script.
Install qtchooser and use qmake as I said.

@Vlalislav
you are missing qtchooser, see https://wiki.archlinux.org/index.php/QT#Default_Qt_Toolkit

Loading...