[Qt-interest] QFileDialog and UNIX device nodes

Jeffery MacEachern j.maceachern at gmail.com
Wed Jul 21 23:49:15 CEST 2010


A friend and I are working on a GUI application that can be used for
rapid testing of a library he's working on, as well as testing the
hardware the library communicates with.  As part of the connection
process, the user is presented with a QFIleDialog to select the serial
port that the device is connected to.  We are currently using a filter
of "*".  Is there a smarter way to do this on Linux/UNIX/OS X?  If
possible, it would be really nice if we could filter on character
devices, for example.  I assume QFileDialog doesn't have that sort of
platform-specific granularity, though.

Ideas?
 - Jeffery MacEachern




More information about the Qt-interest-old mailing list