commit | 74474f5b2bc2c0c12da5bee33384c23c60d6a02d | [log] [tgz] |
---|---|---|
author | Edric Milaret <edric.ladent-milaret@savoirfairelinux.com> | Mon May 16 13:36:23 2016 -0400 |
committer | Edric Milaret <edric.ladent-milaret@savoirfairelinux.com> | Mon May 16 13:03:47 2016 -0500 |
tree | 182abc5cd9a0cc93f9959eac9e6f5775ead8543a | |
parent | f8048cfd715c6de85894dec86699f39499d0b29b [diff] |
code cleanup Using clang static analyser and cppcheck Change-Id: Iff54cab58fb8d05a55f9fe32edffc3af8bcee7bd
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