diff --git a/SerialPrograms/Source/CommonFramework/VideoPipeline/Backends/CameraWidgetQt6.5.h b/SerialPrograms/Source/CommonFramework/VideoPipeline/Backends/CameraWidgetQt6.5.h index 163f3d7be0..ab3ab10a12 100644 --- a/SerialPrograms/Source/CommonFramework/VideoPipeline/Backends/CameraWidgetQt6.5.h +++ b/SerialPrograms/Source/CommonFramework/VideoPipeline/Backends/CameraWidgetQt6.5.h @@ -65,6 +65,9 @@ class StaticQGraphicsView : public QGraphicsView{ setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setFocusPolicy(Qt::FocusPolicy::NoFocus); + // Frames are drawn by QPainter::drawImage() scaled to the widget size. + // Without this, the scaling is nearest-neighbor and edges shimmer. + setRenderHint(QPainter::SmoothPixmapTransform); } virtual void wheelEvent(QWheelEvent* e) override{