diff --git a/platform/qt/platform.gyp b/platform/qt/platform.gyp index 2a0e1c57b..7968dbc3a 100644 --- a/platform/qt/platform.gyp +++ b/platform/qt/platform.gyp @@ -126,6 +126,12 @@ '<@(webp_static_libs)', ], }, + }, { + 'variables': { + 'cflags': [ + '-DQT_IMAGE_DECODERS', + ], + }, }], ['<(qt_version_major) == 4', { 'variables': {