[Interest] qt_add_qml_module() RESOURCES vs qt_add_resources()

Nils Jeisecke nils.jeisecke at saltation.com
Tue Feb 13 14:26:32 CET 2024


Hi Ekke,

On Tue, Feb 13, 2024 at 1:41 PM ekke <ekke at ekkes-corner.org> wrote:
> qt_add_qml_module(${MY_APP}
>      URI Main_Module
>      QML_FILES
>          ${my_qml_files}
>          ${my_js_files}
>      SOURCES
>          ${my_cpp_files}
>      RESOURCES
>          ${my_image_files}
>          ${my_data-assets_files}
> )

I think you have to set RESOURCE_PREFIX if you derive from the default path.

Nils


More information about the Interest mailing list