Don't build qtquickcontrols2 in Docker

This commit is contained in:
Ilya Fedin 2022-11-04 11:44:32 +04:00 committed by John Preston
parent da2f1b3d97
commit 6ff3d9f975

View file

@ -669,6 +669,10 @@ RUN git clone -b {{ QT_TAG }} --depth=1 git://code.qt.io/qt/qt5.git qt_{{ QT }}
&& git submodule update --init --recursive --depth=1 qtbase qtdeclarative qtwayland qtimageformats qtsvg qt5compat qtshadertools \
&& cd qtbase \
&& find ../../patches/qtbase_{{ QT }} -type f -print0 | sort -z | xargs -r0 git apply \
&& cd ../qtdeclarative \
&& sed -i '/add_subdirectory(quickcontrols2)/d' src/CMakeLists.txt \
&& sed -i '/add_subdirectory(quickdialogs2)/d' src/CMakeLists.txt \
&& sed -i '/add_subdirectory(quicknativestyle)/d' src/CMakeLists.txt \
&& cd .. \
&& ./configure -prefix "{{ QT_PREFIX }}" \
CMAKE_BUILD_TYPE=None \