Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Does QT cache have persistence.
Forum Updated to NodeBB v4.3 + New Features

Does QT cache have persistence.

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 2.2k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    Ganesh91771
    wrote on 3 May 2017, 10:58 last edited by Ganesh91771 5 Mar 2017, 10:59
    #1

    Hi All,

    Can QT cache have persistence or else can we implement persistence in QT cache.

    Please suggest the cache methods which have persistence.

    J 1 Reply Last reply 3 May 2017, 11:11
    0
    • G Ganesh91771
      3 May 2017, 10:58

      Hi All,

      Can QT cache have persistence or else can we implement persistence in QT cache.

      Please suggest the cache methods which have persistence.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 3 May 2017, 11:11 last edited by
      #2

      @Ganesh91771 What do you mean by "Qt cache"?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Ganesh91771
        wrote on 3 May 2017, 11:13 last edited by Ganesh91771 5 Mar 2017, 11:16
        #3

        @jsulm QT cache means using Qcache/QContiguousCache Class.
        Actually my need to implement a cache which have persistence. So can I achieve persistence using Qcache/QContiguousCache class?

        J 1 Reply Last reply 3 May 2017, 11:18
        0
        • G Ganesh91771
          3 May 2017, 11:13

          @jsulm QT cache means using Qcache/QContiguousCache Class.
          Actually my need to implement a cache which have persistence. So can I achieve persistence using Qcache/QContiguousCache class?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 3 May 2017, 11:18 last edited by
          #4

          @Ganesh91771 QCache/QContigousCache are not persistent. But you can implement reading/writing from/to files by yourself.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Ganesh91771
            wrote on 3 May 2017, 11:22 last edited by
            #5

            Thank you @jsulm . Can you please suggest any other cache methods for c++ (should be embedded)
            which have persistence in built.

            J 1 Reply Last reply 3 May 2017, 11:27
            0
            • G Ganesh91771
              3 May 2017, 11:22

              Thank you @jsulm . Can you please suggest any other cache methods for c++ (should be embedded)
              which have persistence in built.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 3 May 2017, 11:27 last edited by
              #6

              @Ganesh91771 No, I don't know any. But you can use QCache and add writing/reading to/from files or database by yourself to make it persistent. See http://doc.qt.io/qt-5/topics-data-storage.html

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • G Offline
                G Offline
                Ganesh91771
                wrote on 3 May 2017, 11:33 last edited by
                #7

                @jsulm Thank you :)

                1 Reply Last reply
                0

                2/7

                3 May 2017, 11:11

                topic:navigator.unread, 5
                • Login

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