linux_x64编译Qt12.7源码
作者:互联网
因为用于平时学习用,所以就不裁剪模块了,秉着能多装功能就多装的原则
下载地址
qt-everywhere-src-5.12.7.tar.xz
需要安装的QT依赖库
apt-get install libqt4-dev libqt5* libfontconfig* libqtweb* libpng* libiconv* libdbus* ninja*
apt-get install libglu1-mesa-dev freeglut3-dev libgl1-mesa-dev libnss3-dev libclang-dev libwebp-dev libxml2-dev libvpx-dev ffmpeg*
apt-get install gstreamer1.0-omx libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libevent-dev libjsoncpp-dev libxslt-dev
apt-get install "^libxcb.*" libx11-xcb-dev libxrender-dev libx11-dev libxext-dev libxtst-dev libicu-dev libopus-dev
编译QT源码参数
#!/bin/sh
./configure \
-v \
-prefix /qt/qt5.12 \
-opensource \
-confirm-license \
-release \
-shared \
-pkg-config \
-make libs \
-accessibility \
-qt-zlib \
-qt-freetype \
-linuxfb \
-evdev \
-gif \
-ico \
-qt-libpng \
-qt-libjpeg \
-qt-sqlite \
-gui \
-webengine-proprietary-codecs \
-webengine-embedded-build \
-webengine-icu \
-webengine-ffmpeg \
-webengine-webp \
-webengine-opus \
-webengine-pepper-plugins \
-gstreamer \
-qt-xcb
make -j8
make install
安装完成
泡沫o0 发布了7 篇原创文章 · 获赞 0 · 访问量 285 私信 关注标签:qt,get,Qt12.7,dev,x64,apt,源码,webengine,install 来源: https://blog.csdn.net/qq_21438461/article/details/104451408