C
QUL_SOFTWARE_RASTERIZER_FREETYPE
Software support for vector graphics
Description
This variable enables you to render vector graphics shapes when using Shape and ShapePath. This variable is enabled by default, but you can disable it either when your application is not using Qt Quick Ultralite Shapes or your target board supports vector graphics through hardware acceleration.
Note: Disabling software support for vector graphics will save flash memory.
To disable software support for vector graphics, rebuild the Core library with QUL_SOFTWARE_RASTERIZER_FREETYE=OFF
. See Building Qt Quick Ultralite from sources for more information.
QUL_ROOT
and QUL_TOOLS
are used in the command line examples below as if they were set as environment variables. For example:
export QUL_ROOT=$HOME/Qt/QtMCUs/2.8.2 export QUL_TOOLS=$HOME/Qt/Tools/QtMCUs
set QUL_ROOT=C:\Qt\QtMCUs\2.8.2 set QUL_TOOLS=C:\Qt\Tools\QtMCUs
Example
cmake .. -DQul_ROOT=$QUL_ROOT -DQUL_PLATFORM=MIMXRT1050-EVK-baremetal -DQUL_SOFTWARE_RASTERIZER_FREETYPE=OFF -DCMAKE_TOOLCHAIN_FILE=$QUL_ROOT/lib/cmake/Qul/toolchain/armgcc.cmake -DQUL_TARGET_TOOLCHAIN_DIR=$QUL_TOOLS/arm_gcc_12_3_1 -DQUL_BOARD_SDK_DIR=$QUL_TOOLS/NXP/SDK_2_15_000_EVKB-IMXRT1050 -DCMAKE_BUILD_TYPE=MinSizeRel -DQUL_GENERATORS=../lib/cmake/Qul/QulGenerators.cmake
For further information on target boards that support vector graphics, see Supported Target Boards and Development Hosts.
Since
This variable was introduced in Qt Quick Ultralite 2.5.0.
Available under certain Qt licenses.
Find out more.