Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Saving option in game
Forum Update on Monday, May 27th 2025

Saving option in game

Scheduled Pinned Locked Moved Game Development
5 Posts 5 Posters 3.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lexan
    wrote on 12 Jul 2011, 05:57 last edited by
    #1

    We have a saving option in our game to be loaded by the user afterwards.. we were thinking of using SQlite for this... is it possible without using C++?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on 12 Jul 2011, 06:00 last edited by
      #2

      "Offline Storage API":http://developer.qt.nokia.com/doc/qt-4.7/qdeclarativeglobalobject.html#id-64d9379b-f4e2-4936-af77-37c90c4648b8

      1 Reply Last reply
      0
      • T Offline
        T Offline
        TobbY
        wrote on 12 Jul 2011, 06:24 last edited by
        #3

        "You can use Qsettings.....here":http://doc.qt.nokia.com/stable/qsettings.html

        1 Reply Last reply
        0
        • C Offline
          C Offline
          changsheng230
          wrote on 12 Jul 2011, 07:40 last edited by
          #4

          Agree with Tobby, QSetting should meet your request:

          More exmples located at : "C:\QtSDK\Examples\4.7\tools\settingseditor"

          Chang Sheng
          常升

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on 12 Jul 2011, 07:51 last edited by
            #5

            Did you miss this part in the question:
            [quote]is it possible without using C++?[/quote]

            Using QSettings requires using C++. If you want to stick to QML only, you can only use the Offline Storage API.

            1 Reply Last reply
            0

            3/5

            12 Jul 2011, 06:24

            • Login

            • Login or register to search.
            3 out of 5
            • First post
              3/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved