El jueves, 2 de mayo de 2019 22:02:36 -03 Stuart Prescott escribió: > 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
Stuff was moved in order to support cross building IIRC. Dmitry knows better. But definitely not a bug: we do reserve the right to move stuff around. > 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? Probably due to the algorithm inside qtchooser to detect symlinks: <https://code.qt.io/cgit/qtsdk/qtchooser.git/tree/src/qtchooser/main.cpp#n221> Due to the changes done to allow cross building stuff with Qt it might detect a symlink to a symlink and thus fail. > c) how can that rather useless error message be improved. Can we? Qt 5 was not precisely designed to be used for cross building, and we are kind of stretching things here, so I guess a little bug per a huge advantage. Moreover we will probably be able to get rid of qtchooser with qt6, or at least start ignoring it. [snip] > 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 That's probably a bug. I still think creating qt?-default was a mistake :-/ -- If you have an apple and I have an apple and we exchange these apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas. George Bernard Shaw Lisandro Damián Nicanor Pérez Meyer http://perezmeyer.com.ar/ http://perezmeyer.blogspot.com/
signature.asc
Description: This is a digitally signed message part.