Hi
For eg.
FILE *fh = NULL;
fh=fopen("/path","wb+");
FILE *fh = NULL;
fh=fopen("/path","wb+");
To copy to clipboard, switch view to plain text mode
the above file named "path" is created in the harddisk.
but I want to create this file on that path selected by me using QFiledialog which is stored in a string.
"/home",
|QFileDialog::DontResolveSymlinks);
QString m_dir = QFileDialog::getExistingDirectory(this, tr("Open Directory"),
"/home",
QFileDialog::ShowDirsOnly
|QFileDialog::DontResolveSymlinks);
To copy to clipboard, switch view to plain text mode
Bookmarks