From 6df6474840eb4e5455fc7d3010d10acd1ae222c4 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 3 Sep 2017 17:53:20 +0200 Subject: [PATCH] Allow configuring supported image formats This allows to add an option for linking against static Qt image format plugins in qtutilities. --- cmake/templates/config.h.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/templates/config.h.in b/cmake/templates/config.h.in index b313986..7c8358a 100644 --- a/cmake/templates/config.h.in +++ b/cmake/templates/config.h.in @@ -18,5 +18,7 @@ #define STATIC_DEPENCENCY_VERSIONS {@STATIC_DEPENCENCY_VERSIONS_ARRAY@} #cmakedefine SVG_SUPPORT #cmakedefine SVG_ICON_SUPPORT +#cmakedefine IMAGE_FORMAT_SUPPORT +#define IMPORT_IMAGE_FORMAT_PLUGINS @IMAGE_FORMAT_SUPPORT_ARRAY@ #endif // @META_PROJECT_VARNAME_UPPER@_CONFIG