fix: remove programatic call to settings update functions

Change-Id: Ic7195bcbbafb5410edaeba15371799c81fedae32
Reviewed-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
5 files changed
tree: e3e0f910d601032f55e8a6f0b52cdbab3201116c
  1. .tx/
  2. docker/
  3. images/
  4. ringtones/
  5. translations/
  6. web/
  7. .gitignore
  8. .gitmodules
  9. .gitreview
  10. aboutdialog.cpp
  11. aboutdialog.h
  12. aboutdialog.ui
  13. accountitemdelegate.cpp
  14. accountitemdelegate.h
  15. accountlistmodel.cpp
  16. accountlistmodel.h
  17. accountserializationadapter.cpp
  18. accountserializationadapter.h
  19. advancedsettingswidget.cpp
  20. advancedsettingswidget.h
  21. advancedsettingswidget.ui
  22. animatedoverlay.ui
  23. animationhelpers.cpp
  24. animationhelpers.h
  25. avatargraphicsview.cpp
  26. avatargraphicsview.h
  27. bannedcontactswidget.cpp
  28. bannedcontactswidget.h
  29. bannedcontactswidget.ui
  30. bannedlistmodel.cpp
  31. bannedlistmodel.h
  32. build-client.bat
  33. callwidget.cpp
  34. callwidget.h
  35. callwidget.ui
  36. contactdialog.ui
  37. contactrequestwidget.cpp
  38. contactrequestwidget.h
  39. contactrequestwidget.ui
  40. conversationitemdelegate.cpp
  41. conversationitemdelegate.h
  42. conversationsfilterwidget.cpp
  43. conversationsfilterwidget.h
  44. copy-runtime-files.ps1
  45. currentaccountcombobox.cpp
  46. currentaccountcombobox.h
  47. deleteaccountdialog.cpp
  48. deleteaccountdialog.h
  49. deleteaccountdialog.ui
  50. deviceeditwidget.ui
  51. fetch-deps.bat
  52. globalsystemtray.cpp
  53. globalsystemtray.h
  54. ico.rc
  55. idlabel.cpp
  56. idlabel.h
  57. invitebuttonswidget.cpp
  58. invitebuttonswidget.h
  59. invitebuttonswidget.ui
  60. License.rtf
  61. linkdevwidget.cpp
  62. linkdevwidget.h
  63. linkdevwidget.ui
  64. linkify.js
  65. lrcinstance.h
  66. main.cpp
  67. mainwindow.cpp
  68. mainwindow.h
  69. mainwindow.ui
  70. messagewebpage.cpp
  71. messagewebpage.h
  72. messagewebview.cpp
  73. messagewebview.h
  74. navwidget.cpp
  75. navwidget.h
  76. passworddialog.cpp
  77. passworddialog.h
  78. passworddialog.ui
  79. photoboothdialog.cpp
  80. photoboothdialog.h
  81. photoboothdialog.ui
  82. photoboothwidget.cpp
  83. photoboothwidget.h
  84. photoboothwidget.ui
  85. pixbufmanipulator.cpp
  86. pixbufmanipulator.h
  87. qrencode-win32.patch
  88. README.md
  89. regnamedialog.cpp
  90. regnamedialog.h
  91. regnamedialog.ui
  92. ressources.qrc
  93. ring-client-windows.sln
  94. ring-client-windows.vcxproj
  95. ring-client-windows.vcxproj.filters
  96. ring.nsi
  97. ringbutton.cpp
  98. ringbutton.h
  99. ringbutton.ui
  100. ringcontactlineedit.cpp
  101. ringcontactlineedit.h
  102. ringthemeutils.h
  103. RingWinClient.pro
  104. selectareadialog.cpp
  105. selectareadialog.h
  106. setavatardialog.cpp
  107. setavatardialog.h
  108. setavatardialog.ui
  109. settingsitemwidget.cpp
  110. settingsitemwidget.h
  111. settingskey.h
  112. settingswidget.cpp
  113. settingswidget.h
  114. settingswidget.ui
  115. shmclient.cpp
  116. shmclient.h
  117. smartlistmodel.cpp
  118. smartlistmodel.h
  119. smartlistselectorbuttonnotifier.cpp
  120. smartlistselectorbuttonnotifier.h
  121. smartlistview.cpp
  122. smartlistview.h
  123. stylesheet.css
  124. touch_res.bat
  125. update-translations.py
  126. utils.cpp
  127. utils.h
  128. version.h
  129. videooverlay.cpp
  130. videooverlay.h
  131. videooverlay.ui
  132. videoview.cpp
  133. videoview.h
  134. videoview.ui
  135. videowidget.cpp
  136. videowidget.h
  137. webchathelpers.cpp
  138. webchathelpers.h
  139. windowscontactbackend.cpp
  140. windowscontactbackend.h
  141. winsparkle.patch
  142. wizarddialog.cpp
  143. wizarddialog.h
  144. wizarddialog.ui
  145. wizardwidget.cpp
  146. wizardwidget.h
  147. wizardwidget.ui
README.md

Windows client for Ring

For more information about the ring project, see the following:

Requirements

  • Ring client library and Ring daemon
  • Mingw-w64 build environment
  • Qt5 (we link against Qt5Core, Qt5Widgets, Qt5Gui) built with Mingw
  • Qt5 Svg, Qt5 ImageFormats & Qt5 WinExtras built with Mingw

Get the source code

  • git clone https://gerrit-ring.savoirfairelinux.com/ring-client-windows

Build instructions

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

  • Build winsparkle In the client directory after having initialized the submodule
    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
    
  • Compile the client with ENABLE_AUTOUPDATE=True

Debugging

Compile the client with 'BUILD=Debug' and libRingClient with '-DCMAKE_BUILD_TYPE=Debug'

Packaging

cd build/release
makensis ring.nsi