C
QUL_ASSERT_VERBOSE
Description
This variable is set to OFF by default in the Qt Quick Ultralite core library.
Internal error checks in the Qt Quick Ultralite core library are documented with a human-readable description at the point where the check is made. By default this description is compiled out and costs no flash memory: only the numeric error code, line number, and up to three integer arguments are available to the error handler, as described in Error handling.
Enabling QUL_ASSERT_VERBOSE additionally logs the description text through Qul::Platform::PlatformContext::consoleWrite when a check fails, which is useful while debugging but increases the size of the core library, because every description string is then linked into the binary. To enable it, rebuild the core library with QUL_ASSERT_VERBOSE=ON. For more information, see Building Qt Quick Ultralite from sources.
Since
This variable was introduced in Qt Quick Ultralite 3.0.
See also Error handling.
Available under certain Qt licenses.
Find out more.