From a5a649b32b5f4a274861a9ef20bc2fa23bc91377 Mon Sep 17 00:00:00 2001 From: YiFang Xiao Date: Wed, 6 Dec 2023 15:17:37 +0800 Subject: [PATCH] fix: dictserver add moc to the source file --- src/dict/dictserver.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dict/dictserver.cc b/src/dict/dictserver.cc index e7d7ae555..953983989 100644 --- a/src/dict/dictserver.cc +++ b/src/dict/dictserver.cc @@ -12,6 +12,7 @@ #include #include +#include "dictserver.moc" namespace DictServer { @@ -340,6 +341,7 @@ void DictServerDictionary::getServerDatabasesAfterConnect() class DictServerWordSearchRequest: public Dictionary::WordSearchRequest { + Q_OBJECT QAtomicInt isCancelled; wstring word; QString errorString;