Looking at many methods and a lot of searching hasn't provided me with what i want. All my attempts include either a tiled image or no image with either a QPainter error or no error. Here's the code that produces no error, but also no image, that i currently have implemented:
I'm not sure what i'm doing wrong, but the solution is most likely simple--assuming there is one.Qt Code:
desk *desktop = new desk(this); // QGraphicsView desktop->setScene(new winManager(this)); pic = pic.scaled(w, h); desktop->render(&painter);To copy to clipboard, switch view to plain text mode
Bookmarks