OverviewFelgo 2 Support (Qt 5) › Getting location of database on iOS and Android via engine.offlineStoragePath()

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


    I’m trying to get the location of the database created from LocalStorage.openDatabaseSync(). I can use qDebug() to show the path when running the app outside Felgo Live but I want to get it to display the path from Felgo Live so I can see it on an Android device and iOS device. I’ve tried a couple methods I’ve found online to create Objects that can be called from QML or set the property of a normal QML object, however, I can’t get these to work in Felgo Live, it seems the the methods Felgo uses to load the app aren’t compatible with what I’ve been trying to do.

    I also tried finding it through FileUtils but was unsuccessful.

    So, my question is this: How can I get the location of the database on iOS, Android, PC, and Mac?

    Thank you,


    Felgo Team


    according to the Qt Quick Local Storage documentation, the database file are stored at the QQmlEngine::offlineStoragePath() location.
    This is the same for both Felgo apps and Qt apps, as well as Felgo Live.

    In case you intend to add custom C++ code to Felgo Live: Such code requires to be compiled and bundled with the application. You can build your own Live Client with custom C++ additions as described here:



Viewing 2 posts - 1 through 2 (of 2 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