[Qt-interest] On macos, how to browse into an application using QFileDialog::getOpenFileName

Dan White ygor at comcast.net
Mon Aug 31 14:28:00 CEST 2009


The file you want to open:  Is it a single file and would it be the same file every time ?
If "yes", then you do not need to use a file-open-dialog.

If "no", then why hide it in the bundle ?
Or, you may have to code an alternate dialog that would mimic the behavior of the file-open-dialog to get around the restriction you describe.

“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)

----- Original Message -----
From: Sebastien Fricker <sebastien.fricker at gmail.com>
To: qt-interest at trolltech.com
Sent: Mon, 31 Aug 2009 07:41:27 +0000 (UTC)
Subject: [Qt-interest] On macos, how to browse into an application using QFileDialog::getOpenFileName


HI,
  I would like to open a file present in a macos bundle  (.app
      directory). The  getOpenFileName dialog always disable the
  possibility to select the buldle or browse into it.

  Is there a way to disable this behaviour?

Thanks
Sebastien

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list