diff --git a/src/apps/qcam/viewfinder_qt.cpp b/src/apps/qcam/viewfinder_qt.cpp
index a7482bea..dcb7acdf 100644
--- a/src/apps/qcam/viewfinder_qt.cpp
+++ b/src/apps/qcam/viewfinder_qt.cpp
@@ -71,7 +71,7 @@ int ViewFinderQt::setFormat(const libcamera::PixelFormat &format, const QSize &s

 		image_ = QImage(size, QImage::Format_RGB32);

-		qInfo() << "Using software format conversion from" << format;
+		qInfo() << "Using software format conversion from" << format.toString().c_str();
 	} else {
 		qInfo() << "Zero-copy enabled";
 	}
