<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">It should look something like this</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
<pre style="margin-top:0px;margin-bottom:0px">win32:<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">LIBS</span><span style="color:rgb(192,192,192)"> </span>+=-L$$<span style="color:rgb(128,0,128)">PWD</span>/../../ITK/lib<span style="color:rgb(192,192,192)"> </span>-lITKBiasCorrection-4.5<span style="color:rgb(192,192,192)"> </span>-lITKBioCell-4.5<span style="color:rgb(192,192,192)"> </span>-lITKCommon-4.5<span style="color:rgb(192,192,192)"> </span>-lITKDICOMParser-4.5<span style="color:rgb(192,192,192)"> </span>-litkdouble-conversion-4.5<span style="color:rgb(192,192,192)"> </span>-lITKEXPAT-4.5<span style="color:rgb(192,192,192)"> </span>-lITKFEM-4.5<span style="color:rgb(192,192,192)"> </span>-litkgdcmCommon-4.5<span style="color:rgb(192,192,192)"> </span>-litkgdcmDICT-4.5<span style="color:rgb(192,192,192)"> </span>-litkgdcmDSED-4.5\</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-litkgdcmIOD-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-litkgdcmjpeg8-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-litkgdcmjpeg12-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-litkgdcmjpeg16-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-litkgdcmMSFF-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-lITKgiftiio-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-litkhdf5_cpp-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-litkhdf5-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-lITKIOBioRad-4.5</span><span style="font-family:verdana,sans-serif;color:rgb(192,192,192)"> </span><span style="font-family:verdana,sans-serif">-lITKIOBMP-4.5\</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span>-lITKIOCSV-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOGDCM-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOGE-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOGIPL-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOHDF5-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOImageBase-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOIPL-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOJPEG-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOLSM-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOMesh-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOMeta-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOMRC-4.5\</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span>-lITKIONIFTI-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIONRRD-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOPNG-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOSiemens-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOSpatialObjects-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOStimulate-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOTIFF-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOTransformBase-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOTransformHDF5-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOTransformInsightLegacy-4.5\</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span>-lITKIOTransformMatlab-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOVTK-4.5<span style="color:rgb(192,192,192)"> </span>-lITKIOXML-4.5<span style="color:rgb(192,192,192)"> </span>-litkjpeg-4.5<span style="color:rgb(192,192,192)"> </span>-lITKKLMRegionGrowing-4.5<span style="color:rgb(192,192,192)"> </span>-lITKLabelMap-4.5<span style="color:rgb(192,192,192)"> </span>-lITKMesh-4.5<span style="color:rgb(192,192,192)"> </span>-lITKMetaIO-4.5<span style="color:rgb(192,192,192)"> </span>-litkNetlibSlatec-4.5<span style="color:rgb(192,192,192)"> </span>-lITKniftiio-4.5\</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span>-lITKNrrdIO-4.5<span style="color:rgb(192,192,192)"> </span>-litkopenjpeg-4.5<span style="color:rgb(192,192,192)"> </span>-lITKOptimizers-4.5<span style="color:rgb(192,192,192)"> </span>-lITKPath-4.5<span style="color:rgb(192,192,192)"> </span>-litkpng-4.5<span style="color:rgb(192,192,192)"> </span>-lITKPolynomials-4.5<span style="color:rgb(192,192,192)"> </span>-lITKQuadEdgeMesh-4.5<span style="color:rgb(192,192,192)"> </span>-lITKSpatialObjects-4.5<span style="color:rgb(192,192,192)"> </span>-lITKStatistics-4.5\</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span>-litktiff-4.5<span style="color:rgb(192,192,192)"> </span>-litkv3p_lsqr-4.5<span style="color:rgb(192,192,192)"> </span>-litkv3p_netlib-4.5<span style="color:rgb(192,192,192)"> </span>-litkvcl-4.5<span style="color:rgb(192,192,192)"> </span>-lITKVideoCore-4.5<span style="color:rgb(192,192,192)"> </span>-lITKVideoIO-4.5<span style="color:rgb(192,192,192)"> </span>-litkvnl_algo-4.5<span style="color:rgb(192,192,192)"> </span>-litkvnl-4.5<span style="color:rgb(192,192,192)"> </span>-lITKVNLInstantiation-4.5<span style="color:rgb(192,192,192)"> </span>-lITKVTK-4.5\</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)"> </span>-lITKVtkGlue-4.5<span style="color:rgb(192,192,192)"> </span>-lITKWatersheds-4.5<span style="color:rgb(192,192,192)"> </span>-litkzlib-4.5<span style="color:rgb(192,192,192)"> </span>-lITKznz-4.5</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">INCLUDEPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/../../ITK/<span style="color:rgb(128,128,0)">include</span>/ITK-4.5</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">DEPENDPATH</span><span style="color:rgb(192,192,192)"> </span>+=<span style="color:rgb(192,192,192)"> </span>$$<span style="color:rgb(128,0,128)">PWD</span>/../../ITK/<span style="color:rgb(128,128,0)">include</span>/ITK-4.5</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">Sorry about the formatting.</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">
<br></pre><pre style="margin-top:0px;margin-bottom:0px">Jothy</pre></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 2:04 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">
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><br>
</blockquote></div><br></div>