add qt for ubuntu2204.
All checks were successful
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 25s
All checks were successful
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 25s
This commit is contained in:
parent
f82c93669a
commit
5be9390f90
@ -45,6 +45,19 @@ RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master
|
|||||||
&& sed -i 's/plugins=(.*)/plugins=(git z zsh-autosuggestions zsh-syntax-highlighting)/' /root/.zshrc \
|
&& sed -i 's/plugins=(.*)/plugins=(git z zsh-autosuggestions zsh-syntax-highlighting)/' /root/.zshrc \
|
||||||
&& chsh -s /bin/zsh root
|
&& chsh -s /bin/zsh root
|
||||||
|
|
||||||
|
RUN cd /root \
|
||||||
|
&& apt install -y libgl1-mesa-dev libfontconfig1-dev libfreetype-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev \
|
||||||
|
&& apt install -y libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavfilter-dev libavdevice-dev \
|
||||||
|
&& wget https://download.qt.io/official_releases/qt/6.8/6.8.0/single/qt-everywhere-src-6.8.0.tar.xz \
|
||||||
|
&& tar -xvf qt-everywhere-src-6.8.0.tar.xz \
|
||||||
|
&& cd ./qt-everywhere-src-6.8.0 \
|
||||||
|
&& ./configure -prefix /opt/Qt/6.8.0/gcc_64 -opensource -debug-and-release -confirm-license -nomake examples -nomake tests -skip qtwebengine -skip qtcoap -skip qtopcua \
|
||||||
|
&& cmake --build . --parallel \
|
||||||
|
&& ninja install \
|
||||||
|
&& rm -fr /root/qt-everywhere-src-6.8.0* \
|
||||||
|
&& echo 'export PATH=/opt/Qt/6.8.0/gcc_64/bin:$PATH' >> /etc/zsh/zshenv \
|
||||||
|
&& echo 'export PATH=/opt/Qt/6.8.0/gcc_64/bin:$PATH' >> /etc/profile
|
||||||
|
|
||||||
RUN cd /root \
|
RUN cd /root \
|
||||||
&& wget https://frp-by1.wwvvww.cn:44048/s/boost_1_86_0/download -O boost_1_86_0.tar.gz \
|
&& wget https://frp-by1.wwvvww.cn:44048/s/boost_1_86_0/download -O boost_1_86_0.tar.gz \
|
||||||
&& tar xvf boost_1_86_0.tar.gz > /dev/null \
|
&& tar xvf boost_1_86_0.tar.gz > /dev/null \
|
||||||
|
Loading…
Reference in New Issue
Block a user