Add QT6CT_LIBRARY to avoid Q_DECL_IMPORT in include

This commit is contained in:
AdenKoperczak 2024-10-29 09:02:04 -04:00
parent 158a4171d2
commit 20b8c0da7d

View file

@ -23,7 +23,6 @@
#include <aws/core/Aws.h>
#include <boost/asio.hpp>
#include <fmt/format.h>
#include <qt6ct-common/qt6ct.h>
#include <QApplication>
#include <QStandardPaths>
#include <QStyleHints>
@ -31,6 +30,10 @@
#include <QPalette>
#include <QStyle>
#define QT6CT_LIBRARY
#include <qt6ct-common/qt6ct.h>
#undef QT6CT_LIBRARY
static const std::string logPrefix_ = "scwx::main";
static const auto logger_ = scwx::util::Logger::Create(logPrefix_);