Solved Local Storage value of variable
-
Hello guys i have a question. Is there another method of data storage then database and txt file ? for example dynamic value of variable. I need method which can be use dynamically without setup path in app code.
-
Hi
Unless you use a online server to store/send stuff in/to, there
is not much alternatives to files.
However, paths are not an issue if you use
http://doc.qt.io/qt-5/qstandardpaths.htmlWhy you need method to save values with no paths ?
Trying to understand the goal. -
I find solution. I use XML file to storage data and place it in the same folder. First try qt don't accpet
QFile file("Data.xml");
but qt restart repair it :).
-
@R4leY
Ok :)
But thats a file too.
I guess you meant not to use plain text file then :)