Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

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 18427

Trending Articles