#include <QtCore/qsettings.h> #ifndef QSETTINGS_H #ifndef QT_NO_SETTINGS class QSettings: public QObject{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_QOBJECT public: static struct QMetaObject const staticMetaObject; #else #endif /* ... */ }; #endif // QT_NO_SETTINGS #endif // QSETTINGS_H