Unsolved Does QT cache have persistence.
-
Hi All,
Can QT cache have persistence or else can we implement persistence in QT cache.
Please suggest the cache methods which have persistence.
-
@Ganesh91771 What do you mean by "Qt cache"?
-
@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? -
@Ganesh91771 QCache/QContigousCache are not persistent. But you can implement reading/writing from/to files by yourself.
-
Thank you @jsulm . Can you please suggest any other cache methods for c++ (should be embedded)
which have persistence in built. -
@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
-
@jsulm Thank you :)