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