go-qml/qml — pull request #52 by RickyS (2014-03-20 19:52:40+00:00)
Title: Hack to enable imgprovider to run from any directory.

To test the ability of imgprovider to use the embedded image, I ran it from my home directory, where it complained that it could not load the qml file. I've rashly put together a reasonable hack to fix that, by having the program change working directory to the directory where the binary executable resides, in the hope that the qml file will be there. It works, but...

I now realize that this defeats the purpose of the example, which I understand to be using the image embedded in the executable. Feel free to incorporate this. But I think I should research how the qml file could instead be embedded in the runtime binary. Do you know how to do this?