Re: Another porting question -- QLoggingCategory

2024-08-21 Thread Arjen Hiemstra
On Wednesday 21 August 2024 14:16:50 CEST Halla Rempt wrote: > Hi, > > We had setup logging in Krita as follows: > > kis_debug.h: > > extern const KRITAGLOBAL_EXPORT QLoggingCategory &_30009(); > extern const KRITAGLOBAL_EXPORT QLoggingCategory &_41000(); > extern const KRITAGLOBAL_EXPORT QLoggi

Another porting question -- QLoggingCategory

2024-08-21 Thread Halla Rempt
Hi, We had setup logging in Krita as follows: kis_debug.h: extern const KRITAGLOBAL_EXPORT QLoggingCategory &_30009(); extern const KRITAGLOBAL_EXPORT QLoggingCategory &_41000(); extern const KRITAGLOBAL_EXPORT QLoggingCategory &_41001(); ... #define dbgResources qCDebug(_30009) #define dbgKrita