git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 0.9 rdm && cd ./rdm
-
Install XCode with Xcode build tools.
-
Install Homebrew.
-
Copy
cd ./src && cp ./resources/Info.plist.sample ./resources/Info.plist
. -
Building RDM dependencies require i.a. openssl and cmake.Install them:
brew install openssl cmake
. -
Build RDM dependencies
./configure
. -
Install Qt 5.9. Add Qt Creator and under Qt 5.9.x add Qt Charts module.
-
Open ./src/rdm.pro in Qt Creator.
-
Run build.
在 Run build 前你可能需要:
-
rdm 目录下新建 build 目录 build-rdm-redis-desktop-manager-Debug.
-
brew install qt5
. -
项目 -> Manage Kits -> Qt Versions -> 添加 -> Qt 5.11.1(5.11.1) /usr/local/Cellar/qt/5.11.1/bin/qmake -> 构建套件(Kit) -> rdm -> 编译器:C: Apple Clang(x86_64) C++: Apple Clang(x86_64) -> Qt 版本: Qt 5.11.1(5.11.1)
下载 Qt 5.9。
-
下载 crashreporter。文件放置 rdm/bin/osx/debug 目录下。
-
编辑 rdm/src/rdm.pro 注释
debug: CONFIG-=app_bundle
。 -
Run build 会在 rdm/bin/osx/debug 目录下得到应用程序版本 rdm 将其拖拽至 Applications。