Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded