Score:0

How to reset Qt package on 22.04?

sz flag

(Not an advanced Linux user)

My GUI apps requiring the Qt library (Konsole, Wireshark, P4V etc) suddenly started seg faulting on start-up.

I tried sudo apt reinstall '~i'

I tried sudo apt-get install --reinstall qtwayland5

but no luck.

Eventually I realized the apps couldn't find shared libraries to load Qt metadata because they were looking in /usr/lib/plugins/ instead of /usr/lib/x86_64-linux-gnu/qt5/plugins/.

A temporary solution was to set QT_PLUGIN_PATH to /usr/lib/x86_64-linux-gnu/qt5/plugins/.

However, I don't understand how this happened and I am concerned something else might be broken.

Given I already tried reinstalling every package, I'm not sure if Qt came with Ubuntu.

How do I reset my Qt installation?

(I have not done any Qt development, this is just the Qt library some apps use)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.