diff options
Diffstat (limited to 'src/corelib/plugin/qpluginloader.h')
-rw-r--r-- | src/corelib/plugin/qpluginloader.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/corelib/plugin/qpluginloader.h b/src/corelib/plugin/qpluginloader.h index 5dca59c271..80b10f76bf 100644 --- a/src/corelib/plugin/qpluginloader.h +++ b/src/corelib/plugin/qpluginloader.h @@ -40,12 +40,15 @@ #ifndef QPLUGINLOADER_H #define QPLUGINLOADER_H +#include <QtCore/qglobal.h> +#if QT_CONFIG(library) #include <QtCore/qlibrary.h> +#endif #include <QtCore/qplugin.h> QT_BEGIN_NAMESPACE -#ifndef QT_NO_LIBRARY +#if QT_CONFIG(library) class QLibraryPrivate; class QJsonObject; @@ -93,7 +96,7 @@ public: static QVector<QStaticPlugin> staticPlugins(); }; -#endif // QT_NO_LIBRARY +#endif // QT_CONFIG(library) QT_END_NAMESPACE |