Show us the backtrace after compiling in debug mode. There is nothing obvious here
By the way - do you need to use graphics view or do you just want to display an image? If the latter then use QLabel instead. If you insist on using the graphics view then create a scene with size equal to the image size, add the image to the scene and tell the view to scale the scene using fitInView().
Bookmarks