Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. E: Unable to find a source package for qt4-x11
QtWS25 Last Chance

E: Unable to find a source package for qt4-x11

Scheduled Pinned Locked Moved Solved QtonPi
9 Posts 4 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Service IT
    wrote on 16 Mar 2022, 18:55 last edited by
    #1

    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... Done

    pi@raspberrypi:~ $ sudo apt-get build-dep qt4-x11
    Reading package lists... Done
    E: Unable to find a source package for qt4-x11

    How to fix it, please

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Mar 2022, 19:13 last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 2 Replies Last reply 16 Mar 2022, 19:37
      0
      • S SGaist
        16 Mar 2022, 19:13

        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.

        S Offline
        S Offline
        Service IT
        wrote on 16 Mar 2022, 19:37 last edited by
        #3

        @SGaist

        Thank you for response, I getting buster now.

        1 Reply Last reply
        0
        • S SGaist
          16 Mar 2022, 19:13

          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.

          S Offline
          S Offline
          Service IT
          wrote on 16 Mar 2022, 20:21 last edited by
          #4

          @SGaist

          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:

          Z 1 Reply Last reply 27 Feb 2023, 21:40
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 16 Mar 2022, 20:23 last edited by
            #5

            Out of curiosity, are you building Qt 4 yourself ? If so, why ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            S 1 Reply Last reply 17 Mar 2022, 00:11
            0
            • S SGaist
              16 Mar 2022, 20:23

              Out of curiosity, are you building Qt 4 yourself ? If so, why ?

              S Offline
              S Offline
              Service IT
              wrote on 17 Mar 2022, 00:11 last edited by
              #6

              @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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 17 Mar 2022, 07:20 last edited by
                #7

                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.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • S Service IT
                  16 Mar 2022, 20:21

                  @SGaist

                  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:

                  Z Offline
                  Z Offline
                  zy2nii
                  wrote on 27 Feb 2023, 21:40 last edited by
                  #8

                  @Service-IT
                  Hi, how did you do it ? plz I have the same problem ..

                  Pl45m4P 1 Reply Last reply 1 Mar 2023, 14:13
                  0
                  • Z zy2nii
                    27 Feb 2023, 21:40

                    @Service-IT
                    Hi, how did you do it ? plz I have the same problem ..

                    Pl45m4P Offline
                    Pl45m4P Offline
                    Pl45m4
                    wrote on 1 Mar 2023, 14:13 last edited by
                    #9

                    @zy2nii said in E: Unable to find a source package for qt4-x11:

                    plz I have the same problem

                    With Qt4?! Why you want to use Qt4?


                    If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                    ~E. W. Dijkstra

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved