I am trying to install qt6 on Ubuntu 22.04. I have found this answer -> How to install Qt6 on Ubuntu 21.10 where it states that package qt6-base-dev is available on 22.04.
However, I get Unable to locate package qt6-base-dev
when trying to install it
Asked
Active
Viewed 1.6k times
2

Rad
- 25
-
qt6-base-dev is indeed available in 22.04. Make sure the Universe repository is anabled. – mikewhatever Oct 11 '22 at 20:06
-
@Nmath I am trying to install qt6 on ubuntu 22.04, I had only qtchooser which didn't provide version 6 – Rad Oct 11 '22 at 20:16
-
@mikewhatever It worked! Thank you. Do you want to post it as an answer with explanation why it worked, so I can mark as resolved? – Rad Oct 11 '22 at 20:17
1 Answers
4
qt6-base-dev is indeed available in 22.04. It is in the Universe repository, so do make sure it is enabled.
...and then:
sudo apt update
sudo apt install qt6-base-dev

mikewhatever
- 32,638