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
QtWS25 Last Chance

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 813 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.
  • B Offline
    B Offline
    bobbob
    wrote on 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

    JoeCFDJ 1 Reply Last reply
    0
    • Christian EhrlicherC Christian Ehrlicher moved this topic from Qt Creator and other tools on
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      0
      • B bobbob

        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

        JoeCFDJ Online
        JoeCFDJ Online
        JoeCFD
        wrote on last edited by JoeCFD
        #3

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

        B 1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

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

          B Offline
          B Offline
          bobbob
          wrote on last edited by
          #4

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

          JoeCFDJ 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi and welcome to devnet,

            How did you install that old version of Qt ?

            B Offline
            B Offline
            bobbob
            wrote on 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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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
              0
              • B bobbob

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

                JoeCFDJ Online
                JoeCFDJ Online
                JoeCFD
                wrote on 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
                0
                • JoeCFDJ JoeCFD

                  @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 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

                  JoeCFDJ 1 Reply Last reply
                  0
                  • SGaistS SGaist

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

                    SGaistS 1 Reply Last reply
                    0
                    • B bobbob

                      @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

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 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

                        @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

                        JoeCFDJ Online
                        JoeCFDJ Online
                        JoeCFD
                        wrote on 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

                        • Login

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