Suppress unused lcQtGuiDrawHelper warning

Put lcQtGuiDrawHelper logging category declaration behind the same
feature flags as its users, to suppress a warning when neither
feature is defined:
qdrawhelper.cpp:38:27: warning: unused function 'lcQtGuiDrawHelper'

Pick-to: 6.9 6.8
Change-Id: Id6eab4e9ab7313475eedfeb20d8d29f84a47f291
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Juha Vuolle 2025-04-17 09:59:41 +03:00
parent 581e39b35f
commit 40595f8063

View File

@ -35,7 +35,9 @@
QT_BEGIN_NAMESPACE
#if QT_CONFIG(raster_64bit) || QT_CONFIG(raster_fp)
Q_STATIC_LOGGING_CATEGORY(lcQtGuiDrawHelper, "qt.gui.drawhelper")
#endif
#define MASK(src, a) src = BYTE_MUL(src, a)