When using the QRC system, what counts is not the actual path in your file system, but the path specified in your QRC file. If the QRC setup for your qml and assets matches same paths, the relative paths in your QML will also work.
If you run into troubles with setting the asset source, please try using Qt.resolvedUrl(“path-to-source”).
Want to find out if Felgo is a good fit for your company?
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: