<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello Dongqing,<div><br></div><div>I can't answer number 1, but as to number 2: There are two examples I have found especially helpful in compiling Qt along with VTK -- VTK/Examples/GUI/Qt/SimpleView and VTK/Examples/Infovis/Cxx/EasyView. Both of them have CMakeList.txt files which should help you get started using CMake to compile your project which includes both Qt and VTK. </div><div><br></div><div>You can try these applications out by compiling VTK with BUILD_EXAMPLES: ON and VTK_USE_INFOVIS: ON. To build the QVTKWidget, which can be used along with Qt Designer, build VTK with VTK_USE_GUISUPPORT: ON and VTK_USE_QVTK: ON.</div><div><br></div><div>I know this doesn't give too many details, but I hope it helps get you started,</div><div>-Eric</div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><br class="webkit-block-placeholder"></div></div></span></div><br><div><div>On Nov 11, 2008, at 1:44 PM, Dongqing Chen wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div bgcolor="#ffffff"><div><font face="Arial" size="2">Dear All:</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2"> Hopefully, I could get some help from this group list. I have two small qustions:</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2"> 1. Before, I have been using and processing pgm file, and could load in all the pgm slices under the same folder at once (using vtkPNMReader). Now, I have just upgraded to VTK 5.2, and want to use VTKDICOMImage Reader to load in all the dicom image at once. But the problem is that the original dicom image has very long name: like "55A92B8DACF957B9CA28E1FEB3CDA877". Could such name be recognized by VTKDicomImageReader. Otherwise, how could I change the name to the format with name order, say, my_dicom.001.dcm, my_dicom.002.dcm,....?</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2"> 2. I just installed the QT 4.4 to design a GUI. How could I compile QT with VTK 5.2. Sorry, before I have never used QT to design GUI.</font></div><div><font face="Arial" size="2"></font> </div><div><font face="Arial" size="2"> Thank you.</font></div><div> </div><div><font face="Arial" size="2">Best Wishes,<br>-----------------------------------------------------------------------------<br>Dongqing Chen, Ph.D.<br>Computer Vision & Image Processing (CVIP) Lab<br>Department of Electrical & Computer Engineering<br>Speed School of Engineering<br>University of Louisville<br>Louisville, KY, 40292<br>U.S.A<br>email:<span class="Apple-converted-space"> </span><a href="mailto:dqchen@cvip.louisville.edu">dqchen@cvip.louisville.edu</a><br>phone: 1-502-852-2789 (Lab)<br> 1-502-852-6130 (Office)<br>----------------------------------------------------------------------------</font></div>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at:<span class="Apple-converted-space"> </span><a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></span></blockquote></div><br></div></body></html>