mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-29 13:45:17 +03:00
47435cc1dd
* js/wasm GOCACHE fix for Go 1.12+ * make use of the official Go 1.12 wasm build and replace js.NewCallback with js.FuncOf * update docker images to Go 1.12.4 * revive raspberry images * fix raspberry related bundling issue * add the multimedia module to the raspberry images * fix raspberry related QT_API issue * remove unecessary *char to []byte copy overhead in some unlikely cases * fix Qt install script * initial partially support for Felgo (former V-Play) on darwin * fix charts/audio example and darwin * fix common/widgets_demo example on iOS (issue #451) * fix widgets/renderer memory leak * fix possible QT_PKG_CONFIG + QT_VERSION race condition * fix static linux docker image
19 lines
1.1 KiB
Docker
19 lines
1.1 KiB
Docker
FROM therecipe/qt:rpi_base
|
|
LABEL maintainer therecipe
|
|
|
|
|
|
RUN QT=qtrpi-rpi3_qt-5.7.0.tar.gz && curl -sL --retry 10 --retry-delay 60 -O https://github.com/therecipe/files/releases/download/v0.0.0/$QT && tar -xzf $QT -C / && rm -f $QT
|
|
#TODO: remove and replace with proper include dir lookup
|
|
RUN mkdir -p /opt/Qt/5.7.0/ && ln -s /opt/qtrpi/raspi/qt5pi/ /opt/Qt/5.7.0/gcc_64
|
|
|
|
RUN git clone -q --depth 1 -b 5.7 https://code.qt.io/qt/qtvirtualkeyboard.git /opt/qtrpi/raspi/qtvirtualkeyboard && cd /opt/qtrpi/raspi/qtvirtualkeyboard && ../qt5/bin/qmake qtvirtualkeyboard.pro CONFIG+=lang-all && make && make install && rm -rf /opt/qtrpi/raspi/qtvirtualkeyboard
|
|
|
|
RUN git clone -q --depth 1 -b 5.7 https://code.qt.io/qt/qtmultimedia.git /opt/qtrpi/raspi/qtmultimedia && cd /opt/qtrpi/raspi/qtmultimedia && ../qt5/bin/qmake qtmultimedia.pro && make && make install && rm -rf /opt/qtrpi/raspi/qtmultimedia
|
|
|
|
|
|
RUN $GOPATH/bin/qtsetup prep
|
|
RUN $GOPATH/bin/qtsetup check rpi3
|
|
RUN $GOPATH/bin/qtsetup generate rpi3
|
|
RUN $GOPATH/bin/qtsetup install rpi3
|
|
RUN cd $GOPATH/src/github.com/therecipe/qt/internal/examples/widgets/line_edits && $GOPATH/bin/qtdeploy build rpi3 && rm -rf ./deploy
|