Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Loading resources in a file embedded in a resource file

$
0
0
Yes, it’s either “:/prefix/file” or “qrc:/prefix/file” (both should work the same, but rarely do). You can try passing the path without any reference to QRC, though. Since you are loading QML from the resource file, the engine already assumes all the paths are QRC-based, too. So you can try with simply: Image { source: "sprites/myImage.png" }

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images