From e85c7195775b331655af3b00cc729343c5d72582 Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Thu, 31 Mar 2022 09:09:48 +0800 Subject: [PATCH] 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 ) --- goldendict.pro | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/goldendict.pro b/goldendict.pro index 4fd0b240..0693fe42 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -46,7 +46,7 @@ QT += sql CONFIG += exceptions \ rtti \ stl \ - c++11 \ + c++14 \ lrelease \ embed_translations @@ -64,6 +64,8 @@ LIBS += \ -lbz2 \ -llzo2 +CONFIG+=utf8_source + win32 { TARGET = GoldenDict @@ -101,8 +103,6 @@ win32 { -lavcodec } - CONFIG+=utf8_source - RC_ICONS += icons/programicon.ico icons/programicon_old.ico INCLUDEPATH += winlibs/include @@ -113,8 +113,6 @@ win32 { gcc48:QMAKE_CXXFLAGS += -Wno-unused-local-typedefs - CONFIG += zim_support - !CONFIG( no_chinese_conversion_support ) { CONFIG += chinese_conversion_support } @@ -130,7 +128,6 @@ unix:!mac { CONFIG += link_pkgconfig - CONFIG += c++14 PKGCONFIG += vorbisfile \ vorbis \ ogg \