commit | 5e6d6722efdf01cd52a388ddb78cb8e4ff73a37c | [log] [tgz] |
---|---|---|
author | Edric Milaret <edric.ladent-milaret@savoirfairelinux.com> | Tue Sep 13 12:00:42 2016 -0400 |
committer | gerrit2 <gerrit2@projects.savoirfairelinux.com> | Fri Oct 14 14:53:21 2016 -0400 |
tree | 262283c8441084257724339bb5dda864fe69b0f9 | |
parent | 4194158d35b19cf76d0346371b7740086f75970b [diff] |
fix high dpi scaling with qt5.6 use the new Qt::AA_EnableHighDpiScaling introduced in Qt5.6 Change-Id: I258047bcc54413ce344103e4e90d5dc7e3756369 Tuleap: #916
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