#include <QtCore/qlibrary.h> #ifndef QLIBRARY_H #ifndef QT_NO_LIBRARY class QLibrary: public QObject{ /* Some contents are skipped to improve readability */ public: void* resolve(char const * symbol); /* ... */ }; #endif //QT_NO_LIBRARY #endif //QLIBRARY_H