.png picture do not display in gui after changing qtversion
-
hello people I have written a gui code with qt5.5.0 an the gui worked well .ichanged a computer because of
speed ,in the new computer i installed qt5.5.1 .In this new qtversion the .png picture in qgraphicsview
do not display in the GUI. what may i have to do ? -
hello people I have written a gui code with qt5.5.0 an the gui worked well .ichanged a computer because of
speed ,in the new computer i installed qt5.5.1 .In this new qtversion the .png picture in qgraphicsview
do not display in the GUI. what may i have to do ?@carter_james hi i had same problem in svg .
please check size of picture,change size,change picture,
it will fixed. -
Hi,
Where did you get that image from ? Somewhere on your hard drive ? Embedded in your application ?
-
i solved the trouble .I had to change the path of the picture
thanks -
Depending on how you use that picture you should embed it using Qt's resource system.