[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#928315: qtchooser: qdbus does not find qt5 qdbus



Control: tags -1 - unreproducible moreinfo
Control: severity -1 normal

Hi all

Some updates to questions (combined into one reply for simplicity):

> By default the qt4 version should be called except the user does something
> to force the situation like installing qt5-default or passing -qt5 
> as argument or setting the environment variable you discovered above. 

Ahh, now this rings a bell.

For some reason I cannot now recall (but was perhaps to do with changes in 
type marshalling?), I needed qdbus to call the qt5 version some years ago and 
created:

$ cat ~/.config/qtchooser/default.conf 
/usr/lib/x86_64-linux-gnu/qt5/bin
/usr/lib/x86_64-linux-gnu

which works just fine under stretch but not under buster.

Deleting the file makes everything work just fine. Replacing it with the 
following also works fine:

/usr/lib/qt5/bin
/usr/lib/x86_64-linux-gnu

So the cause of the problem was my config file and not a general problem 
(hence downgrading the severity). 

There are some smaller bugs instead: 

a) why does the old config file no longer work

b) when /usr/lib/x86_64-linux-gnu/qt5/bin is just a symlink farm to /usr/lib/
qt5/bin, why does one work and the other not?

c) how can that rather useless error message be improved. 

I have a feeling that (a) and (b) are linked and are probably packaging bugs.

> Please also check if you have any configuration file in /etc/xdg/qtchooser

nothing there

> > Do you have qt4-default or qt5-default installed? In case you do: did you
> > install it by hand or something else dragged it in? I have tried to
> > reproduce the issue with and without qt5-default installed without
> > success, so the issue might be somewhere else.
> 
> I would also like to know the version of qt5-default installed, and the
> contents of /usr/lib/x86_64-linux-gnu/qtchooser/default.conf file.

qt4-default is not installed

qt5-default is installed:

$ apt list qt5-default
qt5-default/testing,now 5.11.3+dfsg1-1 amd64 [installed,automatic]

$ aptitude why qt5-default
i   extra-cmake-modules Recommends qt5-default


cheers
Stuart


-- 
Stuart Prescott    http://www.nanonanonano.net/   stuart@nanonanonano.net
Debian Developer   http://www.debian.org/         stuart@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7


Reply to: