[Qt-interest] QFileDialog: native + sheet (Window modal) not possible?

Nikos Chantziaras realnc at arcor.de
Thu Jan 27 18:47:39 CET 2011


On 01/27/2011 06:32 PM, Oliver.Knoll at comit.ch wrote:
> Hi,
>
> can anyone confirm my assumption here, that with the current Qt 4.7.1 it is apparently not possible to have both
>
> * native dialogs and
> * Window modal dialogs (aka Sheets on Mac) (http://labs.qt.nokia.com/2010/02/23/unpredictable-exec/)

Works just fine here.  Make sure to open the dialog with open(), not exec():

   file:///usr/share/doc/qt-4.7.1/html/qfiledialog.html#open

Doing that I get a native OS X file dialog as a sheet.



More information about the Qt-interest-old mailing list