title: QT QImage pixel manipulation
body: <p>I am building a QT GUI application and use QImage for opening images.
  My problem is that I can't figure out how to use QImage's bit() and scanline()
  methods to get access at per pixel level.</p>
  
  <p>I've seen this post <a href="https://stackoverflow.com/questions/857962/qt-qimage-pixel-manipulation-problems">Qt QImage pixel manipulation problems</a>
  but this is only for the first pixel of each row. Is this correct or I got it all wrong? </p>
  
  <p>thanks in advance</p>