OverviewFelgo 2 Support (Qt 5) › Compiling assets into binaries

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #17356


    Hi All,

    I’ve set up my publish build which compiles all qml into the binary. I noticed that the assets are kept separate.

    Is there a way to compile the assets (images and audio) into the binary, too?

    Many thanks!


    Felgo Team

    Hi Kool,

    there are two ways to bundle your files with Felgo, in you *.pro project configuration you can:

    • Use DEPLOYMENTFOLDERS to copy your files to the application assets
    • Use the RESOURCES system to compile the files specified in your *.qrc configuration with the application

    You can also switch to the RESOURCES system instead of DEPLOYMENTFOLDERS for assets.




    Hi Gunther,

    Do the above still allow me to use the relative paths for files in qml (i.e. AppImage::source using a relative path back to the assets folder)?

    Many thanks!


    Felgo Team

    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”).


Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support