Forums

OverviewV-Play 2 Support (Qt 5)How do I create a database? › Reply To: How do I create a database?

OverviewV-Play 2 Support (Qt 5)How do I create a database? › Reply To: How do I create a database?
#8843

spike

Regarding MySQL you probably have to create some C++ classes and expose it to the QML context. See here.

If you only need local storage you can use the Storage class provided by V-Play or refer to the Local Storage Module from Qt.

I don’t know the actual difference between those two and if it’s just a wrapper, but to me it seems that the latter leaves more control in your hands, while the first one is rather simple and basic.

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