Writing a text file into an IPhone
With Qt 5.5, IOS and a IPhone4 target (iphoneos-clang QT5.5.0 for IOS), i use the QFile standard commands, but the file.isOpen() always returns 'false'. Is there some examples of writing files in IPhones with Qt ? Thanks.
Where are you trying to write that file ? You should use QStandardPaths and first get a valid writable location
I want to write a "Datas.csv" file on root if possible ("/") or into the CurrentDir (Application), but it doesn't work (IODevice not created).
Where can i find examples with QStandardPaths ?
You can't write in any of theses location on iOS nor Android for that matter. Look at writableLocation, it will return you a path suitable for writing.
Ok thanks a lot. I managed to write my file in app/Documents using "QStandardPaths"
Also, i know it's not a Qt relative question, but do you know what is the pending software of Finder in a IPhone (i now want to open my file on the IPhone!) ?
AFAIK, there's currently no Apple equivalent for iOS, that may change in the future. You might find other application offering that service.