mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 13:00:05 +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 <aws/core/Aws.h> | ||||||
| #include <boost/asio.hpp> | #include <boost/asio.hpp> | ||||||
| #include <fmt/format.h> | #include <fmt/format.h> | ||||||
| #include <qt6ct-common/qt6ct.h> |  | ||||||
| #include <QApplication> | #include <QApplication> | ||||||
| #include <QStandardPaths> | #include <QStandardPaths> | ||||||
| #include <QStyleHints> | #include <QStyleHints> | ||||||
|  | @ -31,6 +30,10 @@ | ||||||
| #include <QPalette> | #include <QPalette> | ||||||
| #include <QStyle> | #include <QStyle> | ||||||
| 
 | 
 | ||||||
|  | #define QT6CT_LIBRARY | ||||||
|  | #include <qt6ct-common/qt6ct.h> | ||||||
|  | #undef QT6CT_LIBRARY | ||||||
|  | 
 | ||||||
| static const std::string logPrefix_ = "scwx::main"; | static const std::string logPrefix_ = "scwx::main"; | ||||||
| static const auto        logger_    = scwx::util::Logger::Create(logPrefix_); | static const auto        logger_    = scwx::util::Logger::Create(logPrefix_); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak