Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
FileDialog Mac Open From C++
PixyWitchy last edited by
When I open a FileDialog with selectExisting to false on Mac, the application isn't responding and I can't see the FileDialog.
QEventLoop loop; connect(dialog, SIGNAL(accepted()), &loop, SLOT(quit())); connect(dialog, SIGNAL(rejected()), &loop, SLOT(quit())); QMetaObject::invokeMethod(dialog, "open"); loop.exec();
Thank you for your help,
Why are you using that local event loop ?
If you want your dialog to be blocking, then use the exec method.