Home  >  Q&A  >  body text

c++ - QML interface design in Qt, pictures cannot be displayed after running

As shown above, after running, the effect is as follows, no picture is displayed,

May I ask why this is? Thank you

漂亮男人漂亮男人2686 days ago680

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-05-16 13:31:46

    Does the image use a relative path? It’s best to put it in qrc

    reply
    0
  • Cancelreply