Skip to content
  • 0 Votes
    4 Posts
    4k Views
    JRohnerJ

    Here is the code that works:

    QString path = QCoreApplication::applicationDirPath() + "/Photo 2014-05-10 11 33 08.jpg"; QPixmap pixmap(path); ui->label->setPixmap(pixmap);
  • 0 Votes
    3 Posts
    2k Views
    M

    Yes, it doesn't work either.

    From what I found so far it seems that this can't be done :-( So I'm copying the files to current directory after application start.

  • 0 Votes
    4 Posts
    2k Views
    SGaistS

    It's not always that complicated ;)

    You're welcome !

    Since you have the information you need please update the three title prepending [solved] so other forum users may know a solution has been found :)

    Also, consider up-voting answer(s) that helps you, that will help others finding them more easily :)