#include <QtSql/qsqlrelationaltablemodel.h> #ifndef QSQLRELATIONALTABLEMODEL_H class QSqlRelationalTableModel: public QSqlTableModel{ /* Some contents are skipped to improve readability */ public: virtual struct QMetaObject const * metaObject() const /* ... */ }; #endif // QSQLRELATIONALTABLEMODEL_H