From 49d852087daabbeb08824c92826d77610c326335 Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Mon, 17 Apr 2023 18:18:28 -0400 Subject: [PATCH] fix: linux qmake build --- goldendict.pro | 11 +++++------ src/{ => dict}/chinese.cc | 0 src/{ => dict}/chinese.hh | 0 src/{ => dict}/chineseconversion.cc | 0 src/{ => dict}/chineseconversion.hh | 0 src/loaddictionaries.cc | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) rename src/{ => dict}/chinese.cc (100%) rename src/{ => dict}/chinese.hh (100%) rename src/{ => dict}/chineseconversion.cc (100%) rename src/{ => dict}/chineseconversion.hh (100%) diff --git a/goldendict.pro b/goldendict.pro index 9ce4626f..a7109ad1 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -434,7 +434,6 @@ SOURCES += \ src/dict/gls.cc \ src/dict/greektranslit.cc \ src/dict/hunspell.cc \ - src/dict/hunspell.cc \ src/dict/lingualibre.cc \ src/dict/lsa.cc \ src/dict/mdx.cc \ @@ -568,11 +567,11 @@ CONFIG( no_epwing_support ) { CONFIG( chinese_conversion_support ) { DEFINES += MAKE_CHINESE_CONVERSION_SUPPORT - FORMS += chineseconversion.ui - HEADERS += chinese.hh \ - chineseconversion.hh - SOURCES += chinese.cc \ - chineseconversion.cc + FORMS += src/ui/chineseconversion.ui + HEADERS += src/dict/chinese.hh \ + src/dict/chineseconversion.hh + SOURCES += src/dict/chinese.cc \ + src/dict/chineseconversion.cc LIBS += -lopencc } diff --git a/src/chinese.cc b/src/dict/chinese.cc similarity index 100% rename from src/chinese.cc rename to src/dict/chinese.cc diff --git a/src/chinese.hh b/src/dict/chinese.hh similarity index 100% rename from src/chinese.hh rename to src/dict/chinese.hh diff --git a/src/chineseconversion.cc b/src/dict/chineseconversion.cc similarity index 100% rename from src/chineseconversion.cc rename to src/dict/chineseconversion.cc diff --git a/src/chineseconversion.hh b/src/dict/chineseconversion.hh similarity index 100% rename from src/chineseconversion.hh rename to src/dict/chineseconversion.hh diff --git a/src/loaddictionaries.cc b/src/loaddictionaries.cc index 6ae34c3c..ee76bee4 100644 --- a/src/loaddictionaries.cc +++ b/src/loaddictionaries.cc @@ -37,7 +37,7 @@ #endif #ifdef MAKE_CHINESE_CONVERSION_SUPPORT -#include "chinese.hh" +#include "dict/chinese.hh" #endif #include