build: package qt5opengl

Change-Id: I70c9e74d1831f4573b1b5bb5f81a787596b1642a
1 file changed
tree: 664aba6853d182a8ef752717ffe50c43a15efb60
  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. accountdetails.cpp
  14. accountdetails.h
  15. accountdetails.ui
  16. accountitemdelegate.cpp
  17. accountitemdelegate.h
  18. accountlistmodel.cpp
  19. accountlistmodel.h
  20. accountserializationadapter.cpp
  21. accountserializationadapter.h
  22. accountstatedelegate.cpp
  23. accountstatedelegate.h
  24. advancedsettingswidget.cpp
  25. advancedsettingswidget.h
  26. advancedsettingswidget.ui
  27. animatedoverlay.ui
  28. animationhelpers.cpp
  29. animationhelpers.h
  30. avatargraphicsview.cpp
  31. avatargraphicsview.h
  32. bannedcontactswidget.cpp
  33. bannedcontactswidget.h
  34. bannedcontactswidget.ui
  35. bannedlistmodel.cpp
  36. bannedlistmodel.h
  37. build-client.bat
  38. callutilsdialog.cpp
  39. callutilsdialog.h
  40. callutilsdialog.ui
  41. callwidget.cpp
  42. callwidget.h
  43. callwidget.ui
  44. configurationwidget.cpp
  45. configurationwidget.h
  46. configurationwidget.ui
  47. contactdialog.ui
  48. contactpicker.cpp
  49. contactpicker.h
  50. contactpicker.ui
  51. contactrequestwidget.cpp
  52. contactrequestwidget.h
  53. contactrequestwidget.ui
  54. conversationitemdelegate.cpp
  55. conversationitemdelegate.h
  56. conversationsfilterwidget.cpp
  57. conversationsfilterwidget.h
  58. copy-runtime-files.ps1
  59. currentaccountcombobox.cpp
  60. currentaccountcombobox.h
  61. deleteaccountdialog.cpp
  62. deleteaccountdialog.h
  63. deleteaccountdialog.ui
  64. deviceeditwidget.ui
  65. fetch-deps.bat
  66. globalsystemtray.cpp
  67. globalsystemtray.h
  68. ico.rc
  69. idlabel.cpp
  70. idlabel.h
  71. invitebuttonswidget.cpp
  72. invitebuttonswidget.h
  73. invitebuttonswidget.ui
  74. License.rtf
  75. linkdevwidget.cpp
  76. linkdevwidget.h
  77. linkdevwidget.ui
  78. linkify.js
  79. lrcinstance.h
  80. main.cpp
  81. mainwindow.cpp
  82. mainwindow.h
  83. mainwindow.ui
  84. messagewebpage.cpp
  85. messagewebpage.h
  86. messagewebview.cpp
  87. messagewebview.h
  88. navwidget.cpp
  89. navwidget.h
  90. passworddialog.cpp
  91. passworddialog.h
  92. passworddialog.ui
  93. photoboothdialog.cpp
  94. photoboothdialog.h
  95. photoboothdialog.ui
  96. photoboothwidget.cpp
  97. photoboothwidget.h
  98. photoboothwidget.ui
  99. pixbufmanipulator.cpp
  100. pixbufmanipulator.h
  101. qrencode-win32.patch
  102. qualitydialog.cpp
  103. qualitydialog.h
  104. qualitydialog.ui
  105. quickactcontactrequestwidget.ui
  106. README.md
  107. regnamedialog.cpp
  108. regnamedialog.h
  109. regnamedialog.ui
  110. ressources.qrc
  111. ring-client-windows.sln
  112. ring-client-windows.vcxproj
  113. ring-client-windows.vcxproj.filters
  114. ring.nsi
  115. ringbutton.cpp
  116. ringbutton.h
  117. ringbutton.ui
  118. ringcontactlineedit.cpp
  119. ringcontactlineedit.h
  120. ringthemeutils.h
  121. RingWinClient.pro
  122. selectareadialog.cpp
  123. selectareadialog.h
  124. sendcontactrequestwidget.cpp
  125. sendcontactrequestwidget.h
  126. sendcontactrequestwidget.ui
  127. setavatardialog.cpp
  128. setavatardialog.h
  129. setavatardialog.ui
  130. settingsitemwidget.cpp
  131. settingsitemwidget.h
  132. settingskey.h
  133. settingswidget.cpp
  134. settingswidget.h
  135. settingswidget.ui
  136. shmclient.cpp
  137. shmclient.h
  138. smartlistmodel.cpp
  139. smartlistmodel.h
  140. smartlistselectorbuttonnotifier.cpp
  141. smartlistselectorbuttonnotifier.h
  142. smartlistview.cpp
  143. smartlistview.h
  144. stylesheet.css
  145. touch_res.bat
  146. update-translations.py
  147. utils.cpp
  148. utils.h
  149. version.h
  150. videooverlay.cpp
  151. videooverlay.h
  152. videooverlay.ui
  153. videoview.cpp
  154. videoview.h
  155. videoview.ui
  156. videowidget.cpp
  157. videowidget.h
  158. webchathelpers.cpp
  159. webchathelpers.h
  160. windowscontactbackend.cpp
  161. windowscontactbackend.h
  162. winsparkle.patch
  163. wizarddialog.cpp
  164. wizarddialog.h
  165. wizarddialog.ui
  166. wizardwidget.cpp
  167. wizardwidget.h
  168. 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