C

QUL_DEBUG_LINE_DIRECTIVES

Warning: Using cmake target properties is deprecated since 2.4, consider using MCU.Config.debugLineDirectives instead.

Adds #line directives into the generated sources.

Description

When enabled by setting it to ON, the source files generated by qmltocpp contain #line directives pointing back to the QML source code.

The directive records the original filename and line number that produced the code. This information enables the debuggers to point to the original file instead of to the intermediate C++ source file.

Without this option, these are generated as comments only.

Note: This is an experimental option.

Since

This variable was introduced in Qt Quick Ultralite 1.1.

Available under certain Qt licenses.
Find out more.