[CMake] QT, CMake and ITK

David Doria daviddoria at gmail.com
Wed Apr 24 09:30:16 EDT 2013


On Tue, Apr 23, 2013 at 5:03 PM, Gabriel Santiago
<santiago.eletrica at gmail.com> wrote:
> Dear all,
>
> I am trying to create an user interface for some medical image processing
> using Qt (it must be Qt) and I want to use ITK to do some of the image
> processing.
>
> In order to create the CMakeLists.txt, I am following this tutorial:
>
> http://qtnode.net/wiki/Qt4_with_cmake
>
> Everything goes fine when I hit "Configure" with CMake-GUI. All the fields
> of QT are filled and no problems are found. but when I try to "Generate" the
> files, I get the following message:
>
> CMake Error: CMake can not determine linker language for target:Test
>
> CMake Error: Cannot determine link language for target "Test".
>
>
> I guess that CMake doens't find the "programming language" that I want to
> use. Am I right? In any case, how can I solve this problem?
>
> Could someone, please, provide me some CMakeFiles complete example for this
> case?
>
> Thank you all in advance,
>
> --
> Gabriel Santiago


Please post your CMakeLists.txt file.

David


More information about the CMake mailing list