Skip to content

Commit

Permalink
use exact PyQt version
Browse files Browse the repository at this point in the history
  • Loading branch information
whalebot-helmsman committed Jun 2, 2020
1 parent 54d5b4e commit e7e65e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ ENV LD_LIBRARY_PATH="/opt/qt-${QT_SHORT_VERSION}/${QT_FULL_VERSION}/gcc_64/lib:$

FROM splash-base as qt5-builder

ARG QT_MAJOR_VERSION
ENV QT_MAJOR_VERSION=${QT_MAJOR_VERSION}

ARG SPLASH_BUILD_PARALLEL_JOBS
ENV SPLASH_BUILD_PARALLEL_JOBS=${SPLASH_BUILD_PARALLEL_JOBS}

Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/splash/install-pyqt5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pushd /tmp/builds && \
# sip
tar xzf "$1" --keep-newer-files -C sip --strip-components 1 && \
pushd sip && \
${_PYTHON} configure.py --sip-module PyQt${QT_MAJOR_VERSION}.sip && \
${_PYTHON} configure.py --sip-module PyQt5.sip && \
make -j ${SPLASH_BUILD_PARALLEL_JOBS} && \
make install && \
popd && \
Expand All @@ -34,7 +34,7 @@ ${_PYTHON} configure.py -c -j ${SPLASH_BUILD_PARALLEL_JOBS} \
make -j ${SPLASH_BUILD_PARALLEL_JOBS} && \
make install && \
popd && \
${_PYTHON} -c "import PyQt${QT_MAJOR_VERSION}.QtCore; print(PyQt${QT_MAJOR_VERSION}.QtCore.__file__)"
${_PYTHON} -c "import PyQt5.QtCore; print(PyQt5.QtCore.__file__)"

# Builds Complete
popd

0 comments on commit e7e65e4

Please sign in to comment.