Solution:
Add resource files in the add_executable()
statement
(not in the add_library()
)
Fa
I think you need to link qrc_resources generated file.
I suppose you know the next info:
http://www.cmake.org/cmake/help/v3.0/manual/cmake-qt.7.html
Where you can see the next line:
add_executable(myexe main.cpp resource_file.qrc)
More info:
http://www.cmake.org/cmake/help/v3.0/prop_tgt/AUTORCC.html