Qt Utilities  6.4.1
Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models
importplugin.h
Go to the documentation of this file.
1 #ifndef MISC_UTILS_IMPORT_PLUGIN_H
2 #define MISC_UTILS_IMPORT_PLUGIN_H
3 
4 #include "resources/qtconfig.h"
5 
6 #ifdef QT_STATIC
7 #if defined(QT_UTILITIES_GUI_QTWIDGETS) || defined(QT_UTILITIES_GUI_QTQUICK)
8 #include <QtPlugin>
9 #ifdef Q_OS_WIN32
10 Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
11 #endif
12 #ifdef Q_OS_MACOS
13 Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)
14 #endif
15 #ifdef SVG_SUPPORT
16 Q_IMPORT_PLUGIN(QSvgPlugin)
17 #endif
18 #ifdef SVG_ICON_SUPPORT
19 Q_IMPORT_PLUGIN(QSvgIconPlugin)
20 #endif
21 #ifdef IMAGE_FORMAT_SUPPORT
22 IMPORT_IMAGE_FORMAT_PLUGINS
23 #endif
24 IMPORT_WIDGET_STYLE_PLUGINS
25 #endif // defined(QT_UTILITIES_GUI_QTWIDGETS) || defined(QT_UTILITIES_GUI_QTQUICK)
26 #endif // QT_STATIC
27 
28 #endif // MISC_UTILS_IMPORT_PLUGIN_H