#include <QtCore/qlibraryinfo.h> #ifndef QLIBRARYINFO_H #ifndef QT_NO_SETTINGS class QLibraryInfo{ /* Some contents are skipped to improve readability */ public: enum LibraryLocation{ /* ... */ ExamplesPath = 10, /* ... */ }; /* ... */ }; #endif /* QT_NO_SETTINGS */ #endif // QLIBRARYINFO_H