最近在折騰國產麒麟系統玩,想在上邊寫個QT小程式,但是因為默認的QT庫是動態鏈接的,發給別人玩就不方便,就打算做一次靜態編譯。configure的時候一直報錯,configure命令如下:
./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 \
-prefix /usr/local/qt_5_9_9_static
報錯資訊如下:
ERROR: Feature 'fontconfig' was enabled, but the pre-condition '!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig' failed.
uj5u.com熱心網友回復:
沒有安裝fontconfig的開發庫轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/281456.html
標籤:工具平臺和程序庫
上一篇:為什么資料沒變,代碼沒變,stata程式跑兩遍,結果不一樣呀
下一篇:數字孿生技術,場景搭建
