After QT4_ADD_RESOURCES() is done with it the QtApp_RCC_SRCS variable contains a list of source files not libraries. You need to add this list of source files to your executable not the linker library list.
...
QT4_ADD_RESOURCES(QtApp_RCC_SRCS ${RESOURCES})
...
add_executable(QtApp ${QtApp_SRCS} ${QtApp_MOC_SRCS} ${QtApp_RCC_SRCS} ${QtApp_UI_HDRS} )
...
QT4_ADD_RESOURCES(QtApp_RCC_SRCS ${RESOURCES})
...
add_executable(QtApp ${QtApp_SRCS} ${QtApp_MOC_SRCS} ${QtApp_RCC_SRCS} ${QtApp_UI_HDRS} )
To copy to clipboard, switch view to plain text mode
Bookmarks