Home > Back-end >  For help, kirin system static compilation on QT, configure failed
For help, kirin system static compilation on QT, configure failed

Time:04-30

Recently in play for domestic kirin system, want to write a QT small program it, but because the default QT is dynamic link library, play is not convenient to others, is going to do a static compilation, the configure of time has been an error, the configure command is as follows:
./configure -v \ 
- static - silent - release - force - debug - info \
- fontconfig - qt - freetype \
- GUI widgets \
SQL - sqlite \
- SSL \
Qt - zlib \
Qt - libpng - qt - XCB \
Qt - libjpeg \
- nomake tests - no - opengl - skip qttools - skip qtsensors - skip qtconnectivity - skip qtserialport - skip qtmultimedia \
- opensource \
- nomake examples - no - iconv \
- the prefix/usr/local/qt_5_9_9_static

Error message is as follows:

ERROR: Feature 'fontconfig was enabled, but the pre - condition'! The config. Win32 & amp; & ! The config. Darwin & amp; & The features, system - freetype & amp; & Libs. Fontconfig 'failed.

CodePudding user response:

Not installed fontconfig development libraries
  • Related