mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Capitalized app name and include locale folder in Mac build
Signed-off-by: Julian Depetris Chauvin <jdepetris@gmail.com>
This commit is contained in:
parent
fb450d02bd
commit
87f98aac28
|
@ -90,6 +90,7 @@ unix:!mac {
|
|||
INSTALLS += desktops2
|
||||
}
|
||||
mac {
|
||||
TARGET = GoldenDict
|
||||
# Uncomment this line to make a universal binary.
|
||||
# You will need to use Xcode 3 and Qt Carbon SDK
|
||||
# if you want the support for PowerPC and/or Mac OS X 10.4
|
||||
|
@ -104,8 +105,10 @@ mac {
|
|||
INCLUDEPATH = maclibs/include
|
||||
LIBS += -Lmaclibs/lib
|
||||
ICON = icons/macicon.icns
|
||||
QMAKE_POST_LINK = mkdir -p goldendict.app/Contents/Frameworks & \
|
||||
cp -nR maclibs/lib/ goldendict.app/Contents/Frameworks/
|
||||
QMAKE_POST_LINK = mkdir -p GoldenDict.app/Contents/Frameworks & \
|
||||
cp -nR maclibs/lib/ GoldenDict.app/Contents/Frameworks/ & \
|
||||
mkdir -p GoldenDict.app/Contents/MacOS/locale & \
|
||||
cp -R locale/*.qm GoldenDict.app/Contents/MacOS/locale/
|
||||
}
|
||||
DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"
|
||||
|
||||
|
|
Loading…
Reference in a new issue