E: Unable to find a source package for qt4-x11
-
Hi dear,
I'm a Junior in qt and Pi my I have a problem getting qt4-x11 package with raspberry os .
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list
pi@raspberrypi:~ $ sudo apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:3 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:5 http://deb.debian.org/debian bullseye/contrib Sources [43.0 kB]
Get:6 http://deb.debian.org/debian bullseye/non-free Sources [80.5 kB]
Get:7 http://deb.debian.org/debian bullseye/main Sources [8,626 kB]
Get:8 http://archive.raspberrypi.org/debian bullseye/main arm64 Packages [260 kB]
Get:9 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [264 kB]
Get:10 http://security.debian.org/debian-security bullseye-security/main Sources [109 kB]
Get:11 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [121 kB]
Get:12 http://security.debian.org/debian-security bullseye-security/main armhf Packages [124 kB]
Get:13 http://security.debian.org/debian-security bullseye-security/main Translation-en [77.5 kB]
Get:14 http://deb.debian.org/debian bullseye-updates/main Sources [1,868 B]
Fetched 9,814 kB in 17s (574 kB/s)
Reading package lists... Donepi@raspberrypi:~ $ sudo apt-get build-dep qt4-x11
Reading package lists... Done
E: Unable to find a source package for qt4-x11How to fix it, please
-
Hi and welcome to devnet,
One way is to get the package list from the previous release of Debian. From what I could gather, Qt 4 is not part of bullseye.
-
It's ok Thank you
pi@raspberrypi:~ $ sudo apt-get build-dep qt4-x11
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed: -
Out of curiosity, are you building Qt 4 yourself ? If so, why ?
-
@SGaist said in E: Unable to find a source package for qt4-x11:
Out of curiosity, are you building Qt 4 yourself ? If so, why ?
Yes by myself for learning and for production after
-
Production ? You do realise that Qt 4 has reached end of life almost 7 years ago ?
It's not recommended to use it for new development. As you have already seen, it's not available pre-built on the latest Debian anymore. -
@Service-IT
Hi, how did you do it ? plz I have the same problem ..