fix: linux qmake build

This commit is contained in:
shenleban tongying 2023-04-17 18:18:28 -04:00
parent 697b2f9cd1
commit 49d852087d
No known key found for this signature in database
6 changed files with 6 additions and 7 deletions

View file

@ -434,7 +434,6 @@ SOURCES += \
src/dict/gls.cc \ src/dict/gls.cc \
src/dict/greektranslit.cc \ src/dict/greektranslit.cc \
src/dict/hunspell.cc \ src/dict/hunspell.cc \
src/dict/hunspell.cc \
src/dict/lingualibre.cc \ src/dict/lingualibre.cc \
src/dict/lsa.cc \ src/dict/lsa.cc \
src/dict/mdx.cc \ src/dict/mdx.cc \
@ -568,11 +567,11 @@ CONFIG( no_epwing_support ) {
CONFIG( chinese_conversion_support ) { CONFIG( chinese_conversion_support ) {
DEFINES += MAKE_CHINESE_CONVERSION_SUPPORT DEFINES += MAKE_CHINESE_CONVERSION_SUPPORT
FORMS += chineseconversion.ui FORMS += src/ui/chineseconversion.ui
HEADERS += chinese.hh \ HEADERS += src/dict/chinese.hh \
chineseconversion.hh src/dict/chineseconversion.hh
SOURCES += chinese.cc \ SOURCES += src/dict/chinese.cc \
chineseconversion.cc src/dict/chineseconversion.cc
LIBS += -lopencc LIBS += -lopencc
} }

View file

@ -37,7 +37,7 @@
#endif #endif
#ifdef MAKE_CHINESE_CONVERSION_SUPPORT #ifdef MAKE_CHINESE_CONVERSION_SUPPORT
#include "chinese.hh" #include "dict/chinese.hh"
#endif #endif
#include <QMessageBox> #include <QMessageBox>