Thanks for the suggestions! I was in a hurry to get something working, and the first working solution I found was to write a uic wrapper script which calls uic and then modifies the output. This line makes it substitute my wrapper for uic:
set(QT_UIC_EXECUTABLE ${CMAKE_SOURCE_DIR}/tools/uic-wrapper.py) _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake