Reading harddisk sectors really isn't very platform independent. Since Qt's main purpose is to be a cross platform toolkit, it isn't really well suited for such tasks. Instead, use the open/seek/read calls available from the BSD core of OSX, and then present the information using Qt.