Skip to content

Commit 2bb2639

Browse files
committed
Modify Qt min version to 5.9.0
1 parent cb3d136 commit 2bb2639

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if (NOT (Qt5_FOUND OR Qt6_FOUND))
6464
elseif(Qt5_FOUND)
6565
message("Qt5 found.")
6666
message(STATUS "Qt version is ${Qt5Core_VERSION}")
67-
set(QT_MIN_VERSION 5.12.0)
67+
set(QT_MIN_VERSION 5.9.0)
6868
else()
6969
message(FATAL_ERROR "No Qt found!")
7070
endif()

src/log4qt/log4qt.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@
459459

460460
#include <qglobal.h>
461461

462-
#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
463-
# error "Log4Qt requires Qt version 5.12.0 or higher"
462+
#if QT_VERSION < QT_VERSION_CHECK(5, 9, 0)
463+
# error "Log4Qt requires Qt version 5.9.0 or higher"
464464
#endif
465465

466466
#if (defined(Q_CC_MSVC) && _MSC_VER < 1900)

0 commit comments

Comments
 (0)