C

QUL_MAX_PARAGRAPH_SIZE

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

Note: Board defaults can be set using QmlProject in the BoardDefaults.qmlprojectconfig files. See Defining default variables for the platform and QmlProject Manual.

Description

The maximum paragraph size in a string. The default value is 100.

If a paragraph exceeds QUL_MAX_PARAGRAPH_SIZE, that is considered an error, and the placeholder glyphs will be displayed instead. It is important to ensure that the paragraph's size does not exceed QUL_MAX_PARAGRAPH_SIZE.

For text that is not known at compile-time (e.g. fetched from the network), the programmer can insert 0x000A (End of Line) Unicode character at appropriate places to make it fit into QUL_MAX_PARAGRAPH_SIZE chunks.

This text buffer is used by the text shaping engine and the Unicode engine.

Example

set_target_properties(<Executable Target> PROPERTIES
    QUL_MAX_PARAGRAPH_SIZE <Size>
)

Since

This property was introduced in Qt Quick Ultralite 2.0.

See also languages and writing systems and text shaping.

Available under certain Qt licenses.
Find out more.