[CMake] How to embed Qt resources using CMake

Júlio Hoffimann julio.hoffimann at gmail.com
Mon Jul 8 12:42:17 EDT 2013


Pau,

I did exactly that, I think the issue is with the file paths not with my
CMakeLists.txt. What Qt does with resource files exactly? Is it a runtime
load? The paths must be relative to the linked executable? Also, where I
can find the complete specification for that XML in icons.qrc?

Bogdan,

I don't need to explicitly copy the icons.qrc nor the resources/pixmaps/
directory to the binary dir?

Best,
Júlio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130708/6be509e7/attachment.htm>


More information about the CMake mailing list