C

Qt Quick Ultralite styling Example

cmake_minimum_required (VERSION 3.15)

qul_add_qml_module(CustomStyleLib
    URI CustomControls
    QML_FILES
        Button.qml
        CheckBox.qml
    IMPORTS
        QtQuick
        QtQuick.Templates
)

target_link_libraries(CustomStyleLib
    Qul::QuickUltraliteTemplates
    # This style links StyleDefault because one of the components is based
    # on a default style component. If it didn't depend on the default style
    # that would be unnecessary.
    Qul::QuickUltraliteControlsStyleDefault)