mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
goldendict.pro file some minor changes.
enable c++14 encoding utf8 remove default zim_support from Windows(should be configured through qmake command line arguments )
This commit is contained in:
parent
e679463dc0
commit
e85c719577
|
@ -46,7 +46,7 @@ QT += sql
|
||||||
CONFIG += exceptions \
|
CONFIG += exceptions \
|
||||||
rtti \
|
rtti \
|
||||||
stl \
|
stl \
|
||||||
c++11 \
|
c++14 \
|
||||||
lrelease \
|
lrelease \
|
||||||
embed_translations
|
embed_translations
|
||||||
|
|
||||||
|
@ -64,6 +64,8 @@ LIBS += \
|
||||||
-lbz2 \
|
-lbz2 \
|
||||||
-llzo2
|
-llzo2
|
||||||
|
|
||||||
|
CONFIG+=utf8_source
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
TARGET = GoldenDict
|
TARGET = GoldenDict
|
||||||
|
|
||||||
|
@ -101,8 +103,6 @@ win32 {
|
||||||
-lavcodec
|
-lavcodec
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG+=utf8_source
|
|
||||||
|
|
||||||
RC_ICONS += icons/programicon.ico icons/programicon_old.ico
|
RC_ICONS += icons/programicon.ico icons/programicon_old.ico
|
||||||
INCLUDEPATH += winlibs/include
|
INCLUDEPATH += winlibs/include
|
||||||
|
|
||||||
|
@ -113,8 +113,6 @@ win32 {
|
||||||
|
|
||||||
gcc48:QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
|
gcc48:QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
|
||||||
|
|
||||||
CONFIG += zim_support
|
|
||||||
|
|
||||||
!CONFIG( no_chinese_conversion_support ) {
|
!CONFIG( no_chinese_conversion_support ) {
|
||||||
CONFIG += chinese_conversion_support
|
CONFIG += chinese_conversion_support
|
||||||
}
|
}
|
||||||
|
@ -130,7 +128,6 @@ unix:!mac {
|
||||||
|
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
|
|
||||||
CONFIG += c++14
|
|
||||||
PKGCONFIG += vorbisfile \
|
PKGCONFIG += vorbisfile \
|
||||||
vorbis \
|
vorbis \
|
||||||
ogg \
|
ogg \
|
||||||
|
|
Loading…
Reference in a new issue