<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Can you also try with "\" in the paths. IF that do not help also try setting the paths with the QtCreator context menu (right click in the pro file and select "Add library".</div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div dir="ltr">Jothybasu K Selvaraj</div><div>Post Doctoral Fellow</div><div>Dept. of Radiotherapy</div><div>Netherlands Cancer Institute-Antoni van Leeuwenhoek</div>
<div>Amsterdam<br><br></div></div></div>
<br><br><div class="gmail_quote">On Wed, Feb 26, 2014 at 3:19 PM, Barbara Post <span dir="ltr"><<a href="mailto:bpo@eonix.be" target="_blank">bpo@eonix.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang="FR-BE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Jothy,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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" target="_blank"><span lang="EN-US">http://pastebin.com/3pGLjbNw</span></a><u></u><u></u></p>
<p class="MsoNormal">main.cpp : <a href="http://pastebin.com/9kzp3tkd" target="_blank">http://pastebin.com/9kzp3tkd</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Compilation result : <a href="http://pastebin.com/BUpt1pK3" target="_blank">
http://pastebin.com/BUpt1pK3</a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p><div class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">--
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Barbara POST
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="tel:%2B32%2065%2F68.02.18" value="+3265680218" target="_blank">+32 65/68.02.18</a><u></u><u></u></span></p>

<p class="MsoNormal"><span lang="FR" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="mailto:bpo@eonix.be" target="_blank">bpo@eonix.be</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><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:<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>]
<br>
<b>Sent:</b> mercredi 26 février 2014 15:03<br>
<b>To:</b> Barbara Post<br>
<b>Cc:</b> <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>
<b>Subject:</b> Re: [Insight-users] Hello ITK with Qt Creator issue<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif"">It should look something like this<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Verdana","sans-serif""><u></u> <u></u></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\<u></u><u></u></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><u></u><u></u></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\<u></u><u></u></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\<u></u><u></u></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\<u></u><u></u></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\<u></u><u></u></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\<u></u><u></u></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<u></u><u></u></pre>

<pre><u></u> <u></u></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<u></u><u></u></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<u></u><u></u></pre>

<pre><u></u> <u></u></pre>
<pre>Sorry about the formatting.<u></u><u></u></pre>
<pre><u></u> <u></u></pre>
<pre><u></u> <u></u></pre>
<pre><u></u> <u></u></pre>
<pre>Jothy<u></u><u></u></pre>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Jothybasu K Selvaraj<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Post Doctoral Fellow<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Dept. of Radiotherapy<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Netherlands Cancer Institute-Antoni van Leeuwenhoek<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Amsterdam<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></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:<u></u><u></u></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><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

<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><br>
<br></blockquote></div><br></div>