Skip to content
QtWS25 Last Chance
  • Path to image in xcassets folder (iOS)

    Solved Mobile and Embedded ios xcode assets
    4
    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);
  • Show image from assets in QML

    Mobile and Embedded android assets image qml
    3
    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.
  • Android Assets.

    Mobile and Embedded android assets
    4
    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 :)