mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:00:04 +00:00
Add QT6CT_LIBRARY to avoid Q_DECL_IMPORT in include
This commit is contained in:
parent
158a4171d2
commit
20b8c0da7d
1 changed files with 4 additions and 1 deletions
|
|
@ -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_);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue