setModel method of QComboBox is reimplemented, it's argument is QAbstractItemModel
do as Lykurg suggested you to do, and simple use setModel to set QSqlQueryModel model for combo box
check the documentation of QSqlQueryModel if you do not know which method use to set the query
Bookmarks