Ensure non-static icon engine plugin does not miss font of static qtforkawesome
This commit is contained in:
parent
cc1c8b35f8
commit
cbcf98696f
|
@ -2,10 +2,18 @@
|
|||
|
||||
#include "../qtforkawesome/renderer.h"
|
||||
|
||||
#include "resources/qtconfig.h"
|
||||
|
||||
#include <QIcon>
|
||||
#include <QIconEnginePlugin>
|
||||
#include <QSize>
|
||||
|
||||
// ensure we don't miss the icon font when linking against qtforkawesome statically but don't build
|
||||
// a static plugin
|
||||
#ifndef QT_FORK_AWESOME_ICON_ENGINE_STATIC
|
||||
ENABLE_QT_RESOURCES_OF_STATIC_DEPENDENCIES
|
||||
#endif
|
||||
|
||||
namespace QtForkAwesome {
|
||||
|
||||
class QT_FORK_AWESOME_ICON_ENGINE_EXPORT ForkAwesomeIconEnginePlugin : public QIconEnginePlugin {
|
||||
|
|
Loading…
Reference in New Issue