Can someone provide an example to FILE IO with QML?
Unsolved
QML and Qt Quick
-
So I have some TextFields and I want to save/load it to and from a text file, which should be created on save button clicked!
-
@MAthias_Va hi
see Settings QML Type -
@MAthias_Va See the Qt example "Text Editor". Basically you implement the IO in a C++ backend and call it from QML.
-
@LeLev I don't understand how setting can help! I couldn't get it!
-
@MAthias_Va i thought you want to save the string present in a TextField so it is still there when you restart the app. Since you use TextField i assumed texts are small strings, so Settings could be used to save them ..