0

I'm using Ubuntu 22.04 LTS running through a Virtual Box on a Windows 10 machine.

For my project, I need to install qt5-default, so I run the following command:

sudo apt-get install qt5-default

Unfortunately I get an error:

E: Package 'qt5-default' has no installation candidate

I'm a bit confused, because my Ubuntu installation seems to be OK, and the qt5 docs say nothing about this.

What am I doing wrong here? Why is there no installation candidate

user32882
  • 191
  • If you want your qt apps supported you need different packages. Did you search in this forum? – kanehekili May 09 '22 at 09:56
  • @kanehekili, sort of, but it doesn't really explain how I can get it working for Ubuntu without resorting to building everything from source... – user32882 May 09 '22 at 10:02
  • Well, you might be more verbose then. Explain why you need that package (in your question, not in the comments). The qt5-default package is used to build stuff, not to run them. The qt5-default package was just a metapackage, which contained the packages in the link. So there is no difference – kanehekili May 09 '22 at 10:32
  • @kanehekili I guess in that case I don't really need the metapackage and could probably install the individual dependencies separately as shown in the link you provide – user32882 May 09 '22 at 10:40
  • I tend to agree with the bug report that closed qt5-default missing; ie. https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1926802 which is found in @n0rbert's answer – guiverc May 09 '22 at 10:50

0 Answers0