readme: add build instructions

Refs #69161

Change-Id: I3647b469ccea5b62a659b00ee8a9ff9c65294edc
1 file changed
tree: f1a13d5b2e1826618b43251facaa4eed75fe0358
  1. cantarell/
  2. cmake/
  3. data/
  4. .gitignore
  5. AccAdvanced.xib
  6. AccAdvancedVC.h
  7. AccAdvancedVC.mm
  8. AccAudio.xib
  9. AccAudioVC.h
  10. AccAudioVC.mm
  11. AccGeneral.xib
  12. AccGeneralVC.h
  13. AccGeneralVC.mm
  14. Accounts.xib
  15. AccountsVC.h
  16. AccountsVC.mm
  17. AccRing.xib
  18. AccRingVC.h
  19. AccRingVC.mm
  20. AccSecurity.xib
  21. AccSecurityVC.h
  22. AccSecurityVC.mm
  23. AccVideo.xib
  24. AccVideoVC.h
  25. AccVideoVC.mm
  26. AppDelegate.h
  27. AppDelegate.mm
  28. AudioPrefs.xib
  29. AudioPrefsVC.h
  30. AudioPrefsVC.mm
  31. CMakeLists.txt
  32. ConversationsViewController.h
  33. ConversationsViewController.mm
  34. CurrentCall.xib
  35. CurrentCallVC.h
  36. CurrentCallVC.mm
  37. GeneralPrefs.xib
  38. GeneralPrefsVC.h
  39. GeneralPrefsVC.mm
  40. HistoryViewController.h
  41. HistoryViewController.mm
  42. LICENSE
  43. main.mm
  44. MainMenu.xib
  45. minimalhistorybackend.h
  46. MinimalHistoryBackend.mm
  47. PreferencesScreen.xib
  48. PreferencesViewController.h
  49. PreferencesViewController.mm
  50. PreferencesWindow.xib
  51. PreferencesWindowController.h
  52. PreferencesWindowController.mm
  53. QNSTreeController.h
  54. QNSTreeController.mm
  55. README.md
  56. RingWindow.xib
  57. RingWindowController.h
  58. RingWindowController.mm
  59. RingWizard.xib
  60. RingWizardWC.h
  61. RingWizardWC.mm
  62. VideoPrefs.xib
  63. VideoPrefsVC.h
  64. VideoPrefsVC.mm
README.md

Ring Mac OSX


This is the official Mac port of Ring.

Requirements

  • Ring daemon
  • libRingClient (Qt5 version)
  • Qt5 Core
  • Cocoa framework

Build instructions

  1. mkdir build && cd build

  2. export CMAKE_PREFIX_PATH=<dir_to_qt5>

Now generate an Xcode project with CMake: 4. cmake ../ -DCMAKE_INSTALL_PREFIX=<libringclient_install_path> -G Xcode 5. open Ring.xcodeproj/ 6. Build and run it from Xcode. You can also generate the final Ring.app bundle.

You can also build it from the command line:

  1. cmake ../ -DCMAKE_INSTALL_PREFIX=<libringclient_install_path>
  2. make
  3. open Ring.app/

Debugging

For now, the build type of the client is "Debug" by default, however it is useful to also have the debug symbols of libRingClient. To do this, specify this when compiling libRingClient with '-DCMAKE_BUILD_TYPE=Debug' in the cmake options.