1
0
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:
Anthony Bilinski 2022-04-03 01:09:39 -07:00
parent f1b401166a
commit b5aa5dac63
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

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