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:
#include "brick.h" #include <iostream> #include <QDebug> Brick::Brick(int x, int y) { image.load("brick.png"); destroyed = FALSE; rect = image.rect(); qDebug()<<rect; rect.translate(x, y); }To copy to clipboard, switch view to plain text mode
etc.
Bookmarks