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. QtSvg not built
Qt 6.11 is out! See what's new in the release blog

QtSvg not built

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 3.3k 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.
  • E Offline
    E Offline
    eos pengwern
    wrote on last edited by
    #1

    I'm trying to build a moderately lightweight Qt library from source, and the following set of configuration options almost works for me:

    @configure -opensource -debug-and-release -c++11 -no-compile-examples -opengl desktop -no-openssl -no-icu -no-iconv -nomake examples -nomake tests -qt-zlib -prefix C:\Qt\5.1.1\x86_64@

    I say 'almost' because the one module that's missing appears to be QtSvg.

    Qt4 had an explicit -svg option to ensure that the corresponding module was built, but Qt5 does not appear to have this - or at least, there's no mention of SVG in the output of 'configure -help'.

    So, what do I need to do to ensure QtSVG is built?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Good question I can't answer right away, but you can try to build it by hand. You can call qmake then make in the qtsvg folder

      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
      • E Offline
        E Offline
        eos pengwern
        wrote on last edited by
        #3

        Thank you, yes, that worked: once my main compilation had finished, I just moved to src\qtsvg and typed 'qmake' then 'nmake' and a few minutes later I had my missing DLL.

        It still seems very unsatisfactory though; I still have the feeling that I've missed something that should be obvious...

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If you have time you can try to rebuild adding your options one by one, to see which one poses problem

          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
          • E Offline
            E Offline
            eos pengwern
            wrote on last edited by
            #5

            I've actually done quite a lot of that already - certainly disabling the options which cause sections such as icu and iconv not to be compiled - but nothing I've tried so far has worked. There are of course hundreds of possible permutations and combinations, and I can't work through all of them.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Indeed, but I was just thinking about the options you used that disables things like -no-iconv/-no-icu (AFAIK icu should not influence QtSvg)

              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

              • Login

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