I am having trouble displaying an image (or anything) in a QGraphicsView

I have a frame named mainwindow which contains simply a QGraphicsView widget named mainGraphics

I have an image named imageMap.bmp which I have added to the resource file

When I run the program, the QGraphicsView mainGraphics is blank.... just a white space in the frame..... if I change the setSceneRect param, the scrollable area does change size, so I am def changing parameters on the correct item, but just none of the graphics will show up...???

The code in mainwindow.cpp is as follows:

Qt Code:
  1. #include "mainwindow.h"
  2. #include "ui_mainwindow.h"
  3. #include <QtGui>
  4.  
  5. MainWindow::MainWindow(QWidget *parent)
  6. : QMainWindow(parent), ui(new Ui::MainWindow)
  7. {
  8. ui->setupUi(this);
  9.  
  10. ui->mainGraphics->setSceneRect(0,0,500,500);
  11. QPixmap back(":/images/imageMap.bmp");
  12. ui->mainGraphics->setBackgroundBrush(back);
  13.  
  14.  
  15. scene.addText("Some text");
  16. scene.addLine(10,10,200,200);
  17.  
  18. ui->mainGraphics->setScene(&scene);
  19. ui->mainGraphics->show();
  20.  
  21.  
  22.  
  23.  
  24. }
  25.  
  26. MainWindow::~MainWindow()
  27. {
  28. delete ui;
  29. }
To copy to clipboard, switch view to plain text mode 

a file named main.cpp contains the main() function which starts the program