commit | 2fde81db52e4c6efc1d2e101cb9c3217378dbe9c | [log] [tgz] |
---|---|---|
author | Anthony Léonard <anthony.leonard@savoirfairelinux.com> | Mon Apr 17 10:06:55 2017 -0400 |
committer | Anthony Léonard <anthony.leonard@savoirfairelinux.com> | Mon Apr 17 12:08:14 2017 -0400 |
tree | d727f5ad08b8a880cf38bc4e9b6a954cde738d66 | |
parent | 253851761b3ede9b17a6bb3d2ebc0db7d1ec08d7 [diff] |
code cleanup in multiple files Last changes were merged quickly without strict code-review as it was needed to integrate them promptly. Related modifications: * callwidget.cpp: Removed unnecessary line feed * callwidget.{cpp,ui}: Renamed “contactRequestView” to “contactRequestPage” for consistency * contactrequestwidget.cpp: Refactoring of a too-long line * sendcontactrequestwidget.{cpp,ui}: Better placeholders Moreover, contactrequestwidget.{cpp,ui} were missing the GPL header and copyrights' years are now updated to 2017 in every files. Change-Id: Id52f340fc62340df6cf5bda8d782fefc732beabe
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