mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
feat(CI): Disallow implicit casting of QString to char*
QString holds UTF8 data which may not be a valid ASCII C string. Require an explicit conversion if wanted.
This commit is contained in:
parent
f1b401166a
commit
b5aa5dac63
|
@ -103,6 +103,7 @@ if (UNIX AND NOT APPLE)
|
|||
endif()
|
||||
|
||||
add_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
|
||||
add_definitions(-DQT_NO_CAST_TO_ASCII)
|
||||
|
||||
include(CheckAtomic)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user