#include <QtSql/qsqldatabase.h> #ifndef QSQLDATABASE_H class QSqlDatabase{ /* Some contents are skipped to improve readability */ public: struct QSqlDriver* driver() const /* ... */ }; #endif // QSQLDATABASE_H