Add QT_DEBUG based logging macroses