1
0
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:
Alexey Sokolov 2022-08-26 01:36:53 +01:00 committed by Daniel Nicoletti
parent 38c1ec8104
commit 8e83402db8

View File

@ -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