This commit is contained in:
Faraz Fallahi
2020-06-05 00:29:34 -04:00
parent 2d2406e386
commit f8f275f7c8
4 changed files with 26 additions and 17 deletions

View File

@@ -1 +1,5 @@
https://github.com/darkmattercoder/qt-build
echo 'override MXE_PLUGIN_DIRS += plugins/gcc7' >> settings.mk
qtbase qtcharts qtdeclarative qtquickcontrols qtquickcontrols2

View File

@@ -5,22 +5,27 @@ RUN \
export DEBIAN_FRONTEND=noninteractive && \
apt -y update && \
apt -y upgrade && \
apt -y install build-essential cmake gdb git iputils-ping nano perl python valgrind wget && \
apt -y install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev && \
apt -y install zlib1g-dev libssl-dev libnss3-dev libmysqlclient-dev libsqlite3-dev libxslt-dev libxml2-dev libjpeg-dev libpng-dev libopus-dev && \
apt -y install libxcursor-dev libxcb1-dev libxcb-xkb-dev libx11-xcb-dev libxrender-dev libxi-dev libxcb-xinerama0-dev && \
apt -y install build-essential cmake gdb git iputils-ping nano perl python valgrind wget lzip \
mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev \
zlib1g-dev libssl-dev libnss3-dev libmysqlclient-dev libsqlite3-dev libxslt-dev libxml2-dev libjpeg-dev libpng-dev libopus-dev \
libxcursor-dev libxcb1-dev libxcb-xkb-dev libx11-xcb-dev libxrender-dev libxi-dev libxcb-xinerama0-dev && \
apt -y autoremove && \
apt -y autoclean && \
cd /opt && \
wget -q http://download.qt.io/official_releases/qt/5.9/5.9.0/single/qt-everywhere-opensource-src-5.9.0.tar.xz && \
tar xf qt-everywhere-opensource-src-5.9.0.tar.xz && \
rm qt-everywhere-opensource-src-5.9.0.tar.xz && \
cd qt-everywhere-opensource-src-5.9.0 && \
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -no-compile-examples && \
make -j $(($(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1)+2)) && \
make install && \
cd /opt && \
rm -rf qt-everywhere-opensource-src-5.9.0 && \
apt -y clean && \
rm -rf /var/lib/apt/lists/* && \
exit 0
ENV PATH="${PATH}:/usr/local/Qt-5.9.0/bin"
RUN \
cd /opt && \
wget -q http://download.qt.io/official_releases/qt/5.15/5.15.0/single/qt-everywhere-opensource-src-5.15.0.tar.xz && \
tar xf qt-everywhere-opensource-src-5.15.0.tar.xz && \
rm qt-everywhere-opensource-src-5.15.0.tar.xz && \
cd qt-everywhere-opensource-src-5.15.0 && \
./configure -opensource -confirm-license -release -static -nomake tests -nomake examples -no-compile-examples && \
make -j $(($(nproc)+4)) && \
make install && \
cd /opt && \
rm -rf qt-everywhere-opensource-src-5.15.0 && \
exit 0
ENV PATH="${PATH}:/usr/local/Qt-5.15.0/bin"

View File

@@ -9,7 +9,7 @@ RUN \
autoconf automake autopoint bash bison bzip2 flex gettext \
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
openssl p7zip-full patch perl pkg-config python ruby scons \
openssl p7zip-full lzip patch perl pkg-config python ruby scons \
sed unzip wget xz-utils \
g++-multilib libc6-dev-i386 && \
apt -y autoremove && \

View File

@@ -9,7 +9,7 @@ RUN \
autoconf automake autopoint bash bison bzip2 flex gettext \
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \
libtool-bin libltdl-dev libssl-dev libxml-parser-perl lzip make \
openssl p7zip-full patch perl pkg-config python ruby scons \
openssl p7zip-full lzip patch perl pkg-config python ruby scons \
sed unzip wget xz-utils \
g++-multilib libc6-dev-i386 && \
apt -y autoremove && \