Important: Please read the Qt Code of Conduct -

[Solved] can't see the image when running my project

  • Hi, I have added an image in Qt Designer using a QLabel (pixmap) but I can't get it when running the project. What can be the problem ?

  • to notice there are no errors when running

  • Lifetime Qt Champion


    Maybe the file can't be found. Are you using a resource file ? Directly from the hard-drive ?

  • Hi,
    my image is located in the desktop.
    I see it before running but when running no so I don't think that the path is the problem.
    So I tried to put it using code and the program works correctly.Now I can se it when running :) .
    To notice the first method (using Qt Designer) works sometimes and sometimes no (I have tried an other example using Qt Designer and I get it when running).

Log in to reply