artome
16th July 2013, 20:17
Hi I'm porting an application from Qt4.8 to 5.10. The application worked well in linux, mac and windows using 4.8.
When I ported it to 5.10 it worked well in linux but in windows only works in some computers (still didn't tried Mac).
The application runs, no error is reported but I cannot see the pixmap image in a graphicsview window.
there a piece of code:
scene.clear();
QPixmap *renderer = new QPixmap(tempfile.fileName().toLatin1().constData() );
scene.clear();
scene.addPixmap(*renderer);
this->ui->graphicsView->setScene(&scene);
I attach two screenshots of exactly the same application in two different windows computers (same binary and same dll's)
93009301
I imagine that there should be any kind of conflict with the windows libraries but have no clue of what it may be and how to get around it.
any hints will be much appreciated.
When I ported it to 5.10 it worked well in linux but in windows only works in some computers (still didn't tried Mac).
The application runs, no error is reported but I cannot see the pixmap image in a graphicsview window.
there a piece of code:
scene.clear();
QPixmap *renderer = new QPixmap(tempfile.fileName().toLatin1().constData() );
scene.clear();
scene.addPixmap(*renderer);
this->ui->graphicsView->setScene(&scene);
I attach two screenshots of exactly the same application in two different windows computers (same binary and same dll's)
93009301
I imagine that there should be any kind of conflict with the windows libraries but have no clue of what it may be and how to get around it.
any hints will be much appreciated.