Disable implicit cast from QByteArray to const char*.
This commit is contained in:
parent
39aa77999e
commit
9bf3d9b638
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ add_library(desktop-app::common_options ALIAS common_options)
|
|||
target_compile_definitions(common_options
|
||||
INTERFACE
|
||||
$<IF:$<CONFIG:Debug>,_DEBUG,NDEBUG>
|
||||
QT_NO_CAST_FROM_BYTEARRAY
|
||||
)
|
||||
|
||||
if (DESKTOP_APP_DISABLE_CRASH_REPORTS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue