Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. error: Package requirements (Qt5Svg >= 5.15.2) were not met: No package 'Qt5Svg' found
Forum Updated to NodeBB v4.3 + New Features

error: Package requirements (Qt5Svg >= 5.15.2) were not met: No package 'Qt5Svg' found

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 3 Posters 847 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    bobbob
    wrote on 20 Sept 2023, 15:57 last edited by
    #1

    Hello everyone, I installed QT5.12.12 in centos7, but when installing this software, the prompt "No package 'Qt5Svg' found", please ask everyone, how should I adjust the system so that I can successfully install this software
    1122.png

    J 1 Reply Last reply 20 Sept 2023, 19:43
    0
    • C Christian Ehrlicher moved this topic from Qt Creator and other tools on 20 Sept 2023, 16:02
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 20 Sept 2023, 18:35 last edited by
      #2

      Hi and welcome to devnet,

      How did you install that old version of Qt ?

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

      B 1 Reply Last reply 21 Sept 2023, 15:07
      0
      • B bobbob
        20 Sept 2023, 15:57

        Hello everyone, I installed QT5.12.12 in centos7, but when installing this software, the prompt "No package 'Qt5Svg' found", please ask everyone, how should I adjust the system so that I can successfully install this software
        1122.png

        J Offline
        J Offline
        JoeCFD
        wrote on 20 Sept 2023, 19:43 last edited by JoeCFD
        #3

        @bobbob
        show the output of
        which qmake
        and
        qmake --version

        B 1 Reply Last reply 21 Sept 2023, 14:55
        0
        • J JoeCFD
          20 Sept 2023, 19:43

          @bobbob
          show the output of
          which qmake
          and
          qmake --version

          B Offline
          B Offline
          bobbob
          wrote on 21 Sept 2023, 14:55 last edited by
          #4

          @JoeCFD thank you~how can i do?
          d05aae05-1a9a-444e-afaa-e2c4f570c4ef-image.png

          J 1 Reply Last reply 21 Sept 2023, 20:43
          0
          • S SGaist
            20 Sept 2023, 18:35

            Hi and welcome to devnet,

            How did you install that old version of Qt ?

            B Offline
            B Offline
            bobbob
            wrote on 21 Sept 2023, 15:07 last edited by
            #5

            @SGaist hello,After I downloaded this Qt, I installed this version of Qt in centos7 desktop edition, after logging in to the Qt interface, select Install all features, the default installation l path is /opt/qt5.12.12
            7dd012a3-6fcb-4ddd-b960-ac3d7e73ecd1-image.png
            930ac480-0cd1-4c79-aa06-9b39edee9caf-image.png
            e0c9f9c7-5cc0-4948-809f-8020ab15a23c-image.png
            60073687-91ff-407d-bfe2-064d1ba47398-image.png

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 21 Sept 2023, 18:36 last edited by
              #6

              Looks like you might be using cmake. If so, did you point it to your 5.12.12 Qt installation ?

              Because from the look of it, you might be using your system provided Qt.

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

              B 1 Reply Last reply 22 Sept 2023, 16:09
              0
              • B bobbob
                21 Sept 2023, 14:55

                @JoeCFD thank you~how can i do?
                d05aae05-1a9a-444e-afaa-e2c4f570c4ef-image.png

                J Offline
                J Offline
                JoeCFD
                wrote on 21 Sept 2023, 20:43 last edited by
                #7

                @bobbob
                do this first
                export PATH=/opt/Qt5.12.12/5.12.12/gcc_64/bin:$PATH
                show output
                which qmake and qmake --version
                again.
                Add
                export PATH=/opt/Qt5.12.12/5.12.12/gcc_64/bin:$PATH
                to your .bashrc file and you are good to go.

                B 1 Reply Last reply 22 Sept 2023, 15:58
                0
                • J JoeCFD
                  21 Sept 2023, 20:43

                  @bobbob
                  do this first
                  export PATH=/opt/Qt5.12.12/5.12.12/gcc_64/bin:$PATH
                  show output
                  which qmake and qmake --version
                  again.
                  Add
                  export PATH=/opt/Qt5.12.12/5.12.12/gcc_64/bin:$PATH
                  to your .bashrc file and you are good to go.

                  B Offline
                  B Offline
                  bobbob
                  wrote on 22 Sept 2023, 15:58 last edited by
                  #8

                  @JoeCFD hi,thank you very much!but,I do this and nothing,I don't know what is "Qt5Svg",and How do I start this software? I can find the software on the system
                  2b87b307-cd48-4fe4-903b-dad9537f0eb3-038049ca1ba82a9be41eb2b64f6b929.png
                  8fcddca8-f0b1-4817-b483-32bd2c434a41-image.png
                  02f69838-97f1-498e-9586-ead23d32def7-image.png

                  J 1 Reply Last reply 22 Sept 2023, 19:26
                  0
                  • S SGaist
                    21 Sept 2023, 18:36

                    Looks like you might be using cmake. If so, did you point it to your 5.12.12 Qt installation ?

                    Because from the look of it, you might be using your system provided Qt.

                    B Offline
                    B Offline
                    bobbob
                    wrote on 22 Sept 2023, 16:09 last edited by
                    #9

                    @SGaist hi,I have used the following link command, should be called qmake QT5.12.12?

                    ln -s /opt/Qt5.12.9/5.12.9/gcc_64/bin/qmake /usr/bin/qmake

                    S 1 Reply Last reply 22 Sept 2023, 18:10
                    0
                    • B bobbob
                      22 Sept 2023, 16:09

                      @SGaist hi,I have used the following link command, should be called qmake QT5.12.12?

                      ln -s /opt/Qt5.12.9/5.12.9/gcc_64/bin/qmake /usr/bin/qmake

                      S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 22 Sept 2023, 18:10 last edited by
                      #10

                      No, but you should not create such links.

                      Your distribution also provides Qt and you might be breaking stuff doing that.

                      When using external Qt versions, just use the full path to qmake in order to ensure the correct one is used.

                      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
                      0
                      • B bobbob
                        22 Sept 2023, 15:58

                        @JoeCFD hi,thank you very much!but,I do this and nothing,I don't know what is "Qt5Svg",and How do I start this software? I can find the software on the system
                        2b87b307-cd48-4fe4-903b-dad9537f0eb3-038049ca1ba82a9be41eb2b64f6b929.png
                        8fcddca8-f0b1-4817-b483-32bd2c434a41-image.png
                        02f69838-97f1-498e-9586-ead23d32def7-image.png

                        J Offline
                        J Offline
                        JoeCFD
                        wrote on 22 Sept 2023, 19:26 last edited by JoeCFD
                        #11

                        @bobbob You can see the error message clearly: 5.15.2 or up is needed to build your app.
                        But you installed 5.12.12. You will be OK after you install 5.15.2. I guess you can delete 5.12.12.

                        Also it is not a good idea to do the configure under root.
                        You configure your apps as normal user and install it as super user with sudo after build is finished.

                        1 Reply Last reply
                        0

                        3/11

                        20 Sept 2023, 19:43

                        8 unread
                        • Login

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