Redirect QT log through python logger

This allows setting the log-level also for QT log messages.