Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Saving files to asset folder

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19551

    Kool

    Hi All,

    I have my own mechanism in place for downloading files from the internet.

    Once I have the data in memory, what path can I use to save data into the assets folder? (this is in the C++/Qt side)

    Many thanks!

    #19555

    Günther
    Felgo Team

    Hi,

    the fileUtils context property, which was added with latest update allows to conveniently work with the file system on mobiles:

    https://felgo.com/doc/fileutils/#writeFile-method

    On the Qt C++ side, the best way is to rely on Qt Standard Paths to store files in the correct location depending on the platform.

    Best,
    Günther

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

RSS feed for this thread

You must be logged in to reply to this topic.