commit | 257e06837eb59e5197199852699bf90c6ba42007 | [log] [tgz] |
---|---|---|
author | Olivier SOLDANO <olivier.soldano@savoirfairelinux.com> | Wed Nov 09 13:59:04 2016 -0500 |
committer | Olivier SOLDANO <olivier.soldano@savoirfairelinux.com> | Thu Nov 10 09:58:15 2016 -0500 |
tree | 89002f39bf00c370fa03f35f7c313f0be441dd14 | |
parent | 56c39508c4e9b2ab8621b179fecc2cfb4b78028c [diff] |
ui: winsparkle autoupdate mandatory suppression of the compiler instructions allowing hiding autoupdate in configuration widget (options) and mainwindow (connection to the winsparkle-ring.xml). plus corrected styling and .pro file according to this change Change-Id: Ib3d2b3d4ceae9101b6aeb2af4c10398dd0c24a3d
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