From a78d30d77bd149caab4e935dc790f63d68557095 Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Thu, 28 Dec 2023 12:22:31 -0500 Subject: [PATCH] Keep the QCocoaMessageBox code for Qt5 Signed-off-by: Geoff Hutchison --- avogadro/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avogadro/mainwindow.cpp b/avogadro/mainwindow.cpp index 0769aa10..c5ec4462 100644 --- a/avogadro/mainwindow.cpp +++ b/avogadro/mainwindow.cpp @@ -95,7 +95,7 @@ #include #endif -#if defined(Q_OS_MAC) && !(QT_VERSION >= 0x050E00) +#if defined(Q_OS_MAC) && (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) #include "qcocoamessagebox.h" #define MESSAGEBOX QCocoaMessageBox #else