diff options
author | Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> | 2021-04-26 14:43:56 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> | 2021-04-26 23:18:19 +0900 |
commit | 3f16ac5588159944e6905dde6195c26c8c4421a2 (patch) | |
tree | 34c213e7a38d79fa6f4b01057f27df7ec2eb7d0a /src/imports | |
parent | 4c0a2ce1e5ccd3f9f81b0af851f8f809d1b27e19 (diff) |
Fix build without features.imageformat-xpm
Change-Id: Ib125517f87be0dac22eaeba059a6cdfd18abb7b7
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/nativestyle/qstyle/qquickcommonstyle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/nativestyle/qstyle/qquickcommonstyle.cpp b/src/imports/nativestyle/qstyle/qquickcommonstyle.cpp index e4adebd9..ff943c96 100644 --- a/src/imports/nativestyle/qstyle/qquickcommonstyle.cpp +++ b/src/imports/nativestyle/qstyle/qquickcommonstyle.cpp @@ -5031,6 +5031,7 @@ int QCommonStyle::styleHint(StyleHint sh, const QStyleOption *opt, QStyleHintRet return ret; } +#if QT_CONFIG(imageformat_xpm) static QPixmap cachedPixmapFromXPM(const char * const *xpm) { QPixmap result; @@ -5043,6 +5044,7 @@ static QPixmap cachedPixmapFromXPM(const char * const *xpm) } static inline QPixmap titleBarMenuCachedPixmapFromXPM() { return cachedPixmapFromXPM(qt_menu_xpm); } +#endif static inline QString clearText16IconPath() { |