#include <QtSql/qsql.h> #ifndef QSQL_H namespace QSql{ enum Location{ /* Some contents are skipped to improve readability */ BeforeFirstRow = -1, /* ... */ }; }; #endif // QSQL_H