From 20b8c0da7d648afcb80f259d4589c586db3d6e25 Mon Sep 17 00:00:00 2001 From: AdenKoperczak Date: Tue, 29 Oct 2024 09:02:04 -0400 Subject: [PATCH] Add QT6CT_LIBRARY to avoid Q_DECL_IMPORT in include --- scwx-qt/source/scwx/qt/main/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scwx-qt/source/scwx/qt/main/main.cpp b/scwx-qt/source/scwx/qt/main/main.cpp index 05b7c933..0e379961 100644 --- a/scwx-qt/source/scwx/qt/main/main.cpp +++ b/scwx-qt/source/scwx/qt/main/main.cpp @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include @@ -31,6 +30,10 @@ #include #include +#define QT6CT_LIBRARY +#include +#undef QT6CT_LIBRARY + static const std::string logPrefix_ = "scwx::main"; static const auto logger_ = scwx::util::Logger::Create(logPrefix_);