use QPainter for side by side render. (~10x speedup)