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.8
Change-Id: Id6eab4e9ab7313475eedfeb20d8d29f84a47f291
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 40595f8063ff18fd3b3e810ffc799fb081e33a1b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Juha Vuolle 2025-04-17 09:59:41 +03:00 committed by Qt Cherry-pick Bot
parent 8b1b3866ba
commit eccceef934

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)