bug: 在 Visual Studio 中引发无法构建的问题,此处被锁定构建为动态库

This commit is contained in:
zinface 2023-02-19 16:59:44 +08:00
parent 249269b5d1
commit 7cf57ceb36
1 changed files with 7 additions and 4 deletions

View File

@ -37,7 +37,10 @@
// Define QSCINTILLA_MAKE_DLL to create a QScintilla shared library, or
// define QSCINTILLA_DLL to link against a QScintilla shared library, or define
// neither to either build or link against a static QScintilla library.
#define QSCINTILLA_DLL
// Bug: 在 Visual Studio 中引发无法构建的问题,此处被锁定构建为动态库
// Unassign as Q_DECL_IMPORT.
// #define QSCINTILLA_DLL
#if defined(QSCINTILLA_DLL)
# define QSCINTILLA_EXPORT Q_DECL_IMPORT