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. unable to configure dds and mng for static QT build
Forum Updated to NodeBB v4.3 + New Features

unable to configure dds and mng for static QT build

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 2 Posters 350 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.
  • C Offline
    C Offline
    coltigh
    wrote on last edited by
    #1

    I don't seem to be able to figure out the correct options for configure in QT 5.12.12 so that the static versions of dds and mng libraries are built.

    Darryls-Mac-Pro:Src dtorske$ ./configure --prefix=/Users/dtorske/Qt5.12.12/5.12.12-src/clang_64-static -static -release -nomake examples -nomake tests -opensource -qt-libpng -qt-zlib -qt-libjpeg -qt-freetype -qt-pcre -qt-harfbuzz -qt-libmng -v

    • cd qtbase
    • /Users/dtorske/Qt5.12.12-src/5.12.12/Src/qtbase/configure -top-level --prefix=/Users/dtorske/Qt5.12.12/5.12.12-src/clang_64-static -static -release -nomake examples -nomake tests -opensource -qt-libpng -qt-zlib -qt-libjpeg -qt-freetype -qt-pcre -qt-harfbuzz -qt-libmng -v
      Creating qmake...
      make: Nothing to be done for `first'.
      ERROR: Unknown command line option '-qt-libmng'.

    I have checked the doc's and don't find a reference on how to set this option in configure.

    thanks

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      The mng plugin is not in qtbase but in qtimageformats.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • C Offline
        C Offline
        coltigh
        wrote on last edited by
        #3

        You are correct about it being in imageformats. But i still can't seem to trigger configure to compile it statically along with dds. I was able to statically build everything else that i needed once if figured out the appropriate configure options. I am just stuck on these two.

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What did you try?

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • C Offline
            C Offline
            coltigh
            wrote on last edited by
            #5

            ok, i figured out what i need to do here. You have to uncomment dds in the imageformats.pro file and that will allow dds to be built. For mng, I needed to point to the library directory and include directory on the configuration command:

            MNG_LIBDIR=/usr/local/lib MNG_INCDIR=/usr/local/include -mng

            1 Reply Last reply
            0
            • C Offline
              C Offline
              coltigh
              wrote on last edited by
              #6

              fyi: here is my entire configure command:

              ./configure --prefix=/Users/dtorske/Qt5.12.12-src/5.12.12/clang_64-static -static -release -nomake examples -nomake tests -nomake tools -opensource -no-sql-db2 -no-sql-ibase -no-sql-mysql -qt-libpng -qt-zlib -qt-libjpeg -qt-freetype -qt-pcre -qt-harfbuzz MNG_LIBDIR=/usr/local/lib MNG_INCDIR=/usr/local/include -mng -cups -v

              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