Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
追加するためにQFileを開くにはどうすればよいですか。つまり、
FILE *f = fopen("myfile.txt", "a");
QIODevice::Append次のモードでファイルを開きます。
QIODevice::Append
QFile f(...); if (f.open(QIODevice::WriteOnly | QIODevice::Append)) { ... }
ドキュメントも参照してください。