<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>Hi, I'm programming my application with ITK and QT. I have anterior experiences with ITK and MFC but now(ITK+QT) I can´t add itk libraries to my Qt project. The SDK I´m using is visual studio with a plugin to QT.In my QT project I add ITK libraries, ITK includes ... After this I put:<br><br>#include "itkImage.h"<br><br>int function (){<br><br>...<br>typedef itk::image&lt;unsigned char,2&gt; imagetype<br>...<br><br>}<br><br>and not problem!!!<br><br>but if i add a reader, for example, it come the problem:<br><br>#include "itkImage.h"<br><font style="font-size: 12pt;" face="Verdana" size="3">#include "</font><font style="font-size: 12pt;" face="Verdana" size="3"><span style="font-size: 16pt; font-family: Constantia; color: black;">ImageFileReader.h</span></font><font style="font-size: 12pt;" face="Verdana" size="3">"</font><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="PowerPoint.Slide"><meta name="Generator" content="Microsoft PowerPoint 12"><br>
<br>
int function (){<br>
<br>
...<br>
typedef itk::image&lt;unsigned char,2&gt; imagetype<br>
...<br>
<br>
}<br><br>I have 7 errors of type:<br><br>Error&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; error LNK2019: símbolo externo __imp__RegCloseKey@4 sin resolver al que se hace referencia en la función "public: static bool __cdecl itksys::SystemTools::ReadRegistryValue(char const *,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; &amp;,enum itksys::SystemTools::KeyWOW64)" (?ReadRegistryValue@SystemTools@itksys@@SA_NPBDAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4KeyWOW64@12@@Z)&nbsp;&nbsp;&nbsp; itksys.lib<br><br>So I decided use the QtItk application, but in this example I compile it with cmake, run witk visual (normal procedure) ..., and in the project properties I don't have the Itk directories includes or the itk libraries, so I don´t know what is the better solution to continue research? or if my problem have a solution.<br><br>Thenks very much for your time!!!!!!!!<br><br>                                               <br /><hr />¡Windows Phone ya está aquí! Mucho más que un teléfono. <a href='http://www.windowsphone.com/spain' target='_new'>¡Hazte con uno!</a></body>
</html>