I have to correct myself slightly about kdewin32:
I wrote:
it will automatically tweak the include search paths
Actually, it's not automatical, you do need to specify:
include_directories(${KDEWIN32_INCLUDES})
like for any other library. And also:
target_link_libraries(yourexecutable ${KDEWIN32_LIBRARIES})
(again, as for any other library).
Kevin Kofler