编译 rdm

编译步骤:

http://docs.redisdesktop.com/en/latest/install/#build-from-source

几处修改:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
unix:macx { # OSX
QT += svg
CONFIG += c++11

#debug: CONFIG-=app_bundle

release: DESTDIR = ./../bin/osx/release
#debug: DESTDIR = ./../bin/osx/debug

#deployment
QMAKE_INFO_PLIST = $$PWD/resources/Info.plist
ICON = $$PWD/resources/rdm.icns


#release {
#CRASHREPORTER_APP.files = $$DESTDIR/crashreporter
#CRASHREPORTER_APP.path = Contents/MacOS
#QMAKE_BUNDLE_DATA += CRASHREPORTER_APP
#}
}

打包:

1
macdeployqt rdm.app -qmldir=/Users/williamwang/workspace/rdm/src/qml -dmg