1
0
Fork 0

Disable implicit cast from QByteArray to const char*.

This commit is contained in:
John Preston 2021-02-02 18:38:10 +04:00
parent 39aa77999e
commit 9bf3d9b638

View file

@ -10,6 +10,7 @@ add_library(desktop-app::common_options ALIAS common_options)
target_compile_definitions(common_options target_compile_definitions(common_options
INTERFACE INTERFACE
$<IF:$<CONFIG:Debug>,_DEBUG,NDEBUG> $<IF:$<CONFIG:Debug>,_DEBUG,NDEBUG>
QT_NO_CAST_FROM_BYTEARRAY
) )
if (DESKTOP_APP_DISABLE_CRASH_REPORTS) if (DESKTOP_APP_DISABLE_CRASH_REPORTS)