commit | 87c2e6e6e1e00bb2a9d14f62bc486e4c86340c0c | [log] [tgz] |
---|---|---|
author | Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> | Tue Mar 21 14:40:55 2017 -0400 |
committer | Anthony LĂ©onard <anthony.leonard@savoirfairelinux.com> | Fri Mar 24 13:28:26 2017 -0400 |
tree | 50587029636fa3c16689e09c0eefac4a7381de38 | |
parent | a86a89708e741c91d383460bcd0edf1940a3b3f9 [diff] |
docker: update Dockerfile Use Dockerfile from daemon. This is a Fedora25 based image including Qt dev kit. We do not set environment variables as they aren't required anymore and were producing errors when building contribs for mingw64. Change-Id: Idd2294cae3fee5e4f1f501082f9ff9f8ac28fb90
For more information about the ring project, see the following:
git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows
USE THE QMAKE OF Qt BUILT WITH MINGW (e.g. /usr/bin/[i686 | x86_64]-w64-mingw32-qmake-qt5)
cd ring-client-windows mkdir build && cd build export QTDIR=<path to mingw qt> (e.g. /usr/[i686 | x86_64]-w64-mingw32/lib/qt) git submodule init && git submodule update cd libqrencode ./autogen.sh && ./configure --host=[i686 | x86_64]-w64-mingw32 --prefix=<Install dir of Ring and LRC> make make install cd .. qmake ../RingWinClient.pro -r -spec win32-g++ RING=<Install dir of Ring and LRC> [BUILD=Debug] make make install
You will find all files in ./release directory.
#Auto update
If you want to enable auto-update
cd winsparkle mkdir build && cd build cmake -DCMAKE_TOOLCHAIN_FILE=<LRC Directory>/cmake/winBuild.cmake -DCMAKE_INSTALL_PREFIX=Install dir of Ring and LRC> ../cmake", make make install
ENABLE_AUTOUPDATE=True
Compile the client with 'BUILD=Debug' and libRingClient with '-DCMAKE_BUILD_TYPE=Debug'
cd build/release makensis ring.nsi