On Sat, 17 Apr 2021, at 15:59, David Faure wrote: > Instead of the RG_DEBUG macro "hack", I recommend using qCDebug() to make it > possible to enable/disable debug output by category.
Can anyone recall why we introduced the RG_DEBUG macros in the first place? Our debug was always a wrapper for QDebug, so there must have been some limitation of QDebug that we wanted to work around rather than (e.g.) wanting something that could be used separately from Qt. But I don't remember what that limitation was. I was wondering about this recently in the context of another project in which I used (cargo-culted really) something similar to the RG mechanism, then found I couldn't remember what the advantage of it was supposed to be! Chris _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel