[CMake] How to embed Qt resources using CMake
Júlio Hoffimann
julio.hoffimann at gmail.com
Mon Jul 8 17:39:55 EDT 2013
I guess the problem is related to static linkage. I'm actually building
static libraries and it seems in that case the resource files are optimized
out by the compiler. I tried to build shared libraries, but for the moment
I have to fix strongly connected components before doing it.
A possible solution for static libraries is to add an explicit call to
Q_INIT_RESOURCE, according to this documentation:
https://qt-project.org/wiki/QtResources. I'll try it if unable to decouple
the libraries.
Best,
Júlio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130708/632bab66/attachment-0001.htm>
More information about the CMake
mailing list