Hi,

I have copied the breakout game from the website http://www.zetcode.com/gui/qt4/breakoutgame.
But I don't see the images, what am I doing wrong?

Regards,
Arend

Qt Code:
  1. #include "brick.h"
  2. #include <iostream>
  3. #include <QDebug>
  4.  
  5. Brick::Brick(int x, int y)
  6. {
  7. image.load("brick.png");
  8. destroyed = FALSE;
  9. rect = image.rect();
  10. qDebug()<<rect;
  11. rect.translate(x, y);
  12. }
To copy to clipboard, switch view to plain text mode 

etc.