#include <QtSql/qsqlquery.h> #ifndef QSQLQUERY_H class QSqlQuery{ /* Some contents are skipped to improve readability */ public: struct QSqlResult const * result() const /* ... */ }; #endif // QSQLQUERY_H