From: APTX Date: Wed, 25 Dec 2019 13:37:21 +0000 (+0900) Subject: Fix compilation with Qt5.14 X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=615ccd01c118dc332892f9f1e2195a996e7eeea1;p=anidbudpclient.git Fix compilation with Qt5.14 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8126683..3d2c1c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ add_feature_info(RenameParser WITH_RENAMEPARSER "file renaming engine") option(WITH_ENCRYPTION "Enable encryption" ON) add_feature_info(Encryption WITH_ENCRYPTION "ENCRYPT command support (requires QCA)") -set(QT_MIN_VERSION "5.3.0") +set(QT_MIN_VERSION "5.8.0") find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Network diff --git a/anidbudpclient_global.h b/anidbudpclient_global.h index 1e1c6e5..34d6edd 100644 --- a/anidbudpclient_global.h +++ b/anidbudpclient_global.h @@ -20,6 +20,8 @@ namespace AniDBUdpClient { + Q_NAMESPACE + enum Error { NoError,