Hello everyone, when I was compiling the QT 5.15.2 source code, an unsolvable problem occurred.
-
First explain my compilation environment:
Operating system: ubuntu 20.04.2 X64
Compiler version: gcc10.2
Installation library description:
apt-get build-dep qt5-default -y &&
apt-get install cmake gcc-10 g++-10 dos2unix -y &&
apt-get install libxcb-xinerama0 libxcb-xinerama0-dev -y &&
apt-get install build-essential perl python git -y &&
apt-get install'^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev -y &&
apt-get install flex bison gperf libicu-dev libxslt-dev ruby -y &&
apt-get install libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev -y &&
apt install libclang-dev llvm -yBuild parameters: configure -debug -static -no-pch -prefix /usr/local/qt-develop -qtnamespace Cry -c++std c++17 -confirm-license -opensource -plugin-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -fontconfig -qt-harfbuzz -nomake examples -nomake tests -skip qtwebengine -skip qtdoc -opengl
Finally, when compiling Qt5Core, there will be: undefined reference to `FcCharSetHasChar' error