unable to configure dds and mng for static QT build
-
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
-
The mng plugin is not in qtbase but in qtimageformats.
-
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.
-
What did you try?
-
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
-
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