Forums

OverviewFelgo 2 Support (Qt 5) › Opening app.settings programatically

Tagged: 

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

    Ricardo Gomez

    Hello, love this framework. Already much more developed than if I had gone native. I got to a point where I’m trying to run a query over App:settings, but can’t figure out how to open it and not create a new db. Right now I’ve got

    var db = LocalStorage.openDatabaseSync('settings', '0.1', 'Settings', 100)

    but this creates a new db. I could write to that db manually instead but that’s tedious. Is there a way to open that db?

    #20428

    Günther
    Felgo Team

    Hi,

    the app settings are a simple key-value store based on the Qt LocalStorage. The storage is not made for big data or usage with queries. For a fully custom local SQL database to store data and query with SQL queries, please create a custom Local Storage Database.

    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.

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
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support