Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

How to say where to write a file to without a dialog

$
0
0
QString RawText (ui->lineEdit->text()); QFile file(RawText & “.txt”); if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) return; it work but it save it in the folder were the program as in.

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>