Is it possible to display QFileDialog::getSaveFileName()
as a sheet on Mac OS?
Setting the parent widget does not seem to help, I'm using Qt5.
Edit: @troyane suggest something along the lines:
QFileDialog dialog(this);
dialog.setWindowModality(Qt::WindowModal);
dialog.setResult(0);
dialog.show();
but it crashes... I must be doing something wrong, though not sure what exactly...