--- CMakeLists.txt.orig	2020-09-24 06:06:00.000000000 +0800
+++ CMakeLists.txt	2023-08-19 08:55:42.000000000 +0800
@@ -1269,7 +1269,7 @@
 			set(MOC_OPTIONS -nn)
 		endif()
 	endif()
-	if(WIN32 OR APPLE)
+	if(WIN32)
 		message(FATAL_ERROR "Windows and macOS builds should use Qt5.")
 	endif()
 endif()
