QGraphicsView *view=new QGraphicsView(this);
QGraphicsScene *scene=new QGraphicsScene(0, 0, 1366, 768);

worked