mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
optimize:utf-8 source encoding and execution encoding .
compatible with VS utf-8 bom complain about transliteration file
This commit is contained in:
parent
84dcc1cbb1
commit
0bf5bbf501
|
@ -96,6 +96,8 @@ win32 {
|
|||
-lavcodec
|
||||
}
|
||||
|
||||
CONFIG+=utf8_source
|
||||
|
||||
RC_ICONS += icons/programicon.ico icons/programicon_old.ico
|
||||
INCLUDEPATH += winlibs/include
|
||||
|
||||
|
@ -210,14 +212,8 @@ mac {
|
|||
CONFIG += zim_support
|
||||
!CONFIG( no_chinese_conversion_support ) {
|
||||
CONFIG += chinese_conversion_support
|
||||
#CONFIG( x86 ) {
|
||||
QMAKE_POST_LINK += & mkdir -p GoldenDict.app/Contents/MacOS/opencc & \
|
||||
cp -R $${PWD}/opencc/*.* GoldenDict.app/Contents/MacOS/opencc/
|
||||
#} else {
|
||||
# QMAKE_POST_LINK += & mkdir -p GoldenDict.app/Contents/MacOS/opencc & \
|
||||
# cp -R $${PWD}/opencc/x64/*.json GoldenDict.app/Contents/MacOS/opencc/ & \
|
||||
# cp -R $${PWD}/opencc/x64/*.ocd GoldenDict.app/Contents/MacOS/opencc/
|
||||
#}
|
||||
QMAKE_POST_LINK += & mkdir -p GoldenDict.app/Contents/MacOS/opencc & \
|
||||
cp -R $${PWD}/opencc/*.* GoldenDict.app/Contents/MacOS/opencc/
|
||||
}
|
||||
}
|
||||
DEFINES += PROGRAM_VERSION=\\\"$$VERSION\\\"
|
||||
|
|
Loading…
Reference in a new issue