Logging custom objects to QDebug