[Interest] qt_add_qml_module() RESOURCES vs qt_add_resources()

Nils Jeisecke nils.jeisecke at saltation.com
Tue Feb 13 14:52:10 CET 2024


Hi,

On Tue, Feb 13, 2024 at 2:41 PM ekke <ekke at ekkes-corner.org> wrote:
> thx. But it's not the prefix. If I add images.qrc and data-assets.qrc to
> the executable, it's working.

If cmake policy QTP0001 is set to new, the resource prefix defaults to
"/qt/qml/", so your previous URIs won't work.

Did you check the generated qrc file for paths?

Nils


More information about the Interest mailing list