#include <QtCore/qlibraryinfo.h> #ifndef QLIBRARYINFO_H #ifndef QT_NO_SETTINGS class QLibraryInfo{ /* Some contents are skipped to improve readability */ public: static class QString location(enum QLibraryInfo::LibraryLocation); /* ... */ }; #endif /* QT_NO_SETTINGS */ #endif // QLIBRARYINFO_H