I am using the following code but it crashes:
Qt Code:
QString Direc = QFileDialog::getExistingDirectory(this,tr("Open Directory),tr(\home"),QFileDialog::ShowDirsOnly);To copy to clipboard, switch view to plain text mode
I am using the following code but it crashes:
Qt Code:
QString Direc = QFileDialog::getExistingDirectory(this,tr("Open Directory),tr(\home"),QFileDialog::ShowDirsOnly);To copy to clipboard, switch view to plain text mode
The code you posted won't even compile. How about you copy and paste the actual code.
This is the code am actually using..
no surely not. Watch the quotation marks and use slashes, no backslashes.
Bookmarks