<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas","serif";
mso-fareast-language:FR-BE;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-BE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Jothy,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for your suggestion, it doesn’t work for now.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Qt Creator project file:
</span><a href="http://pastebin.com/3pGLjbNw"><span lang="EN-US">http://pastebin.com/3pGLjbNw</span></a><o:p></o:p></p>
<p class="MsoNormal">main.cpp : <a href="http://pastebin.com/9kzp3tkd">http://pastebin.com/9kzp3tkd</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Compilation result : <a href="http://pastebin.com/BUpt1pK3">
http://pastebin.com/BUpt1pK3</a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">--
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Barbara POST
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">+32 65/68.02.18<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">bpo@eonix.be<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jothybasu Selvaraj [mailto:jothybasu@gmail.com]
<br>
<b>Sent:</b> mercredi 26 février 2014 15:03<br>
<b>To:</b> Barbara Post<br>
<b>Cc:</b> insight-users@itk.org<br>
<b>Subject:</b> Re: [Insight-users] Hello ITK with Qt Creator issue<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">It should look something like this<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<pre>win32:<span style="color:silver"> </span><span style="color:purple">LIBS</span><span style="color:silver"> </span>+=-L$$<span style="color:purple">PWD</span>/../../ITK/lib<span style="color:silver"> </span>-lITKBiasCorrection-4.5<span style="color:silver"> </span>-lITKBioCell-4.5<span style="color:silver"> </span>-lITKCommon-4.5<span style="color:silver"> </span>-lITKDICOMParser-4.5<span style="color:silver"> </span>-litkdouble-conversion-4.5<span style="color:silver"> </span>-lITKEXPAT-4.5<span style="color:silver"> </span>-lITKFEM-4.5<span style="color:silver"> </span>-litkgdcmCommon-4.5<span style="color:silver"> </span>-litkgdcmDICT-4.5<span style="color:silver"> </span>-litkgdcmDSED-4.5\<o:p></o:p></pre>
<pre><span style="font-family:"Verdana","sans-serif";color:silver"> </span><span style="font-family:"Verdana","sans-serif"">-litkgdcmIOD-4.5<span style="color:silver"> </span>-litkgdcmjpeg8-4.5<span style="color:silver"> </span>-litkgdcmjpeg12-4.5<span style="color:silver"> </span>-litkgdcmjpeg16-4.5<span style="color:silver"> </span>-litkgdcmMSFF-4.5<span style="color:silver"> </span>-lITKgiftiio-4.5<span style="color:silver"> </span>-litkhdf5_cpp-4.5<span style="color:silver"> </span>-litkhdf5-4.5<span style="color:silver"> </span>-lITKIOBioRad-4.5<span style="color:silver"> </span>-lITKIOBMP-4.5\</span><o:p></o:p></pre>
<pre><span style="color:silver"> </span>-lITKIOCSV-4.5<span style="color:silver"> </span>-lITKIOGDCM-4.5<span style="color:silver"> </span>-lITKIOGE-4.5<span style="color:silver"> </span>-lITKIOGIPL-4.5<span style="color:silver"> </span>-lITKIOHDF5-4.5<span style="color:silver"> </span>-lITKIOImageBase-4.5<span style="color:silver"> </span>-lITKIOIPL-4.5<span style="color:silver"> </span>-lITKIOJPEG-4.5<span style="color:silver"> </span>-lITKIOLSM-4.5<span style="color:silver"> </span>-lITKIOMesh-4.5<span style="color:silver"> </span>-lITKIOMeta-4.5<span style="color:silver"> </span>-lITKIOMRC-4.5\<o:p></o:p></pre>
<pre><span style="color:silver"> </span>-lITKIONIFTI-4.5<span style="color:silver"> </span>-lITKIONRRD-4.5<span style="color:silver"> </span>-lITKIOPNG-4.5<span style="color:silver"> </span>-lITKIOSiemens-4.5<span style="color:silver"> </span>-lITKIOSpatialObjects-4.5<span style="color:silver"> </span>-lITKIOStimulate-4.5<span style="color:silver"> </span>-lITKIOTIFF-4.5<span style="color:silver"> </span>-lITKIOTransformBase-4.5<span style="color:silver"> </span>-lITKIOTransformHDF5-4.5<span style="color:silver"> </span>-lITKIOTransformInsightLegacy-4.5\<o:p></o:p></pre>
<pre><span style="color:silver"> </span>-lITKIOTransformMatlab-4.5<span style="color:silver"> </span>-lITKIOVTK-4.5<span style="color:silver"> </span>-lITKIOXML-4.5<span style="color:silver"> </span>-litkjpeg-4.5<span style="color:silver"> </span>-lITKKLMRegionGrowing-4.5<span style="color:silver"> </span>-lITKLabelMap-4.5<span style="color:silver"> </span>-lITKMesh-4.5<span style="color:silver"> </span>-lITKMetaIO-4.5<span style="color:silver"> </span>-litkNetlibSlatec-4.5<span style="color:silver"> </span>-lITKniftiio-4.5\<o:p></o:p></pre>
<pre><span style="color:silver"> </span>-lITKNrrdIO-4.5<span style="color:silver"> </span>-litkopenjpeg-4.5<span style="color:silver"> </span>-lITKOptimizers-4.5<span style="color:silver"> </span>-lITKPath-4.5<span style="color:silver"> </span>-litkpng-4.5<span style="color:silver"> </span>-lITKPolynomials-4.5<span style="color:silver"> </span>-lITKQuadEdgeMesh-4.5<span style="color:silver"> </span>-lITKSpatialObjects-4.5<span style="color:silver"> </span>-lITKStatistics-4.5\<o:p></o:p></pre>
<pre><span style="color:silver"> </span>-litktiff-4.5<span style="color:silver"> </span>-litkv3p_lsqr-4.5<span style="color:silver"> </span>-litkv3p_netlib-4.5<span style="color:silver"> </span>-litkvcl-4.5<span style="color:silver"> </span>-lITKVideoCore-4.5<span style="color:silver"> </span>-lITKVideoIO-4.5<span style="color:silver"> </span>-litkvnl_algo-4.5<span style="color:silver"> </span>-litkvnl-4.5<span style="color:silver"> </span>-lITKVNLInstantiation-4.5<span style="color:silver"> </span>-lITKVTK-4.5\<o:p></o:p></pre>
<pre><span style="color:silver"> </span>-lITKVtkGlue-4.5<span style="color:silver"> </span>-lITKWatersheds-4.5<span style="color:silver"> </span>-litkzlib-4.5<span style="color:silver"> </span>-lITKznz-4.5<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><span style="color:purple">INCLUDEPATH</span><span style="color:silver"> </span>+=<span style="color:silver"> </span>$$<span style="color:purple">PWD</span>/../../ITK/<span style="color:olive">include</span>/ITK-4.5<o:p></o:p></pre>
<pre><span style="color:purple">DEPENDPATH</span><span style="color:silver"> </span>+=<span style="color:silver"> </span>$$<span style="color:purple">PWD</span>/../../ITK/<span style="color:olive">include</span>/ITK-4.5<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Sorry about the formatting.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Jothy<o:p></o:p></pre>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Jothybasu K Selvaraj<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Post Doctoral Fellow<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Dept. of Radiotherapy<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Netherlands Cancer Institute-Antoni van Leeuwenhoek<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Amsterdam<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Wed, Feb 26, 2014 at 2:04 PM, Barbara Post <<a href="mailto:bpo@eonix.be" target="_blank">bpo@eonix.be</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
I have to use Qt Creator as an IDE, and integrate ITK into the project I work on.<br>
<br>
I use MSVC 2010 64 bit compiler. I compiled ITK with this compiler, without glitches. I installed ITK in C:\ITK.<br>
<br>
However QMake doesn't want at all to find itkImage.h.<br>
<br>
I'm surprised, since I checked what follows many times.<br>
<br>
Here are the files of plain C++ project with Qt Creator, thank you for helping.<br>
<br>
Qt Creator project file (.pro):<br>
<br>
TEMPLATE = app<br>
CONFIG += console<br>
CONFIG -= app_bundle<br>
CONFIG -= qt<br>
<br>
# ITK base directory<br>
ITK = $(ITK)<br>
<br>
# ITK headers base directory<br>
ITK_INCLUDES = $${ITK}/include/ITK4-5<br>
<br>
# ITK libs base directory<br>
ITK_LIBS = $${ITK}/lib<br>
<br>
# Pass information to Qmake (include path)<br>
INCLUDEPATH += \<br>
# $${ITK_INCLUDES}<br>
C:/ITK/include/ITK4-5<br>
<br>
# Pass information to Qmake (lib path)<br>
QMAKE_LIBDIR += \<br>
# $${ITK_LIBS}<br>
C:/ITK/lib<br>
<br>
SOURCES += main.cpp<br>
<br>
main.cpp:<br>
<br>
#include "itkImage.h"<br>
#include <iostream><br>
int main()<br>
{<br>
typedef itk::Image< unsigned short, 3 > ImageType;<br>
ImageType::Pointer image = ImageType::New();<br>
std::cout << "ITK Hello World !" << std::endl;<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>