mirror of
https://github.com/QtExcel/QXlsx.git
synced 2025-01-16 04:42:53 +08:00
Don't force Qt definitions onto users
It breaks users who use "signals" keyword and convert const char* to QString.
This commit is contained in:
parent
38c1ec8104
commit
8e83402db8
@ -140,7 +140,7 @@ add_library(QXlsx
|
||||
|
||||
add_library(QXlsx::QXlsx ALIAS QXlsx)
|
||||
|
||||
target_compile_definitions(QXlsx PUBLIC
|
||||
target_compile_definitions(QXlsx PRIVATE
|
||||
-DQT_NO_KEYWORDS
|
||||
-DQT_NO_CAST_TO_ASCII
|
||||
-DQT_NO_CAST_FROM_ASCII
|
||||
|
Loading…
x
Reference in New Issue
Block a user