+ 1
Image display in C++
Does anyone know how to display and image in C++? I found this is there another way int main(int argc, char *argv[]) { QApplication a(argc, argv); QGraphicsScene scene; QGraphicsView view(&scene); QGraphicsPixmapItem item(QPixmap("c:\\test.png")); scene.addItem(&item); view.show(); return a.exec(); }
3 ответов
+ 3
Maybe this will help: https://youtu.be/WFts4-62F6U
+ 1
Yes that helped thank you