<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div>Hi Luis,</div><div><br></div><div><br></div><div>That is unusual, anyway, do you compiled  qt?, In my case I compiled QT 5.3.1 and after VTK 6.1 and I had not problem, with visual studio 2010.</div><div><br></div><div>The first thing that have the first time that compile vtk with qt module is that I have to change the flag to qt 5 and erase the flags of qt 4, and  then I configure again, and is ready.</div><div><br></div><div>if you want, send me a screenshot of cmake.</div></div><div><br></div><div>Cheers,</div><div><br></div><div>Waldo</div><div><br></div><div><div><br><div><div>On 25 Jul 2014, at 16:12, Luis Vieira <<a href="mailto:luis.vieira@vektore.com">luis.vieira@vektore.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Tks. I did. However, CMake still try to find QT 4 as follow erro message:<br><br><div style="white-space: pre-wrap; margin: 0px; text-indent: 0px;"><span style="color: rgb(255, 0, 0);">CMake Error at C:/Program Files
        (x86)/CMake/share/cmake-3.0/Modules/FindQt4.cmake:621 (message):<br>
        Could NOT find QtCore. Check<br>
        C:/VTK/bin/msvc2013_64_opengl/CMakeFiles/CMakeError.log for more
        details.<br>
        Call Stack (most recent call first):<br>
        GUISupport/Qt/CMakeLists.txt:68 (find_package)</span></div><br><br><div class="moz-cite-prefix">On 7/22/14 2:34 PM, Waldo Valenzuela wrote:<br></div><blockquote cite="mid:BLU437-SMTP59BC8DCA4F570B36A758BA87F10@phx.gbl" type="cite">Hi Luis,<div><br></div><div>to compile qt 5 or superior with vtk 6, you need to set as well VTK_QT_VERSION = 5,  in cmake.</div><div><br></div><div>Cheers,</div><div><br></div><div>Waldo.</div><div><br></div><div><br></div><div><br><div><div>On 22 Jul 2014, at 14:26, Luis Vieira <<a moz-do-not-send="true" href="mailto:luis.vieira@vektore.com">luis.vieira@vektore.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><br><div class="moz-forward-container"><div dir="ltr"><div class="gmail_quote">Hello, We hope this email find you well.<br><div dir="ltr"><br><div><p class="MsoNormal" style="white-space: pre-wrap; text-align: justify;"><b>We have the
                                follow CMake - VTK - Visual Studio 2013
                                Configuration:</b></p><p style="white-space: pre-wrap; text-align: justify;"><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span>Visual
                              Studio 2013 opengl +64;</p><p style="white-space: pre-wrap; text-align: justify;"><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span>CMake
                              3.0;</p><p style="white-space: pre-wrap; text-align: justify;"><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span>VTK-6.1.0.</p><p class="MsoNormal" style="white-space: pre-wrap; text-align: justify;"><b>CMake
                                configurated the following paths:</b></p><p style="white-space: pre-wrap; text-align: justify;"><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span>C:\Program

                              Files\VTK (Debug);</p><p style="white-space: pre-wrap; text-align: justify;"><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span>C:\Program

                              Files\VTK (Release);</p><p style="white-space: pre-wrap; text-align: justify;"><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span>C:\VTK\build;</p><p style="white-space: pre-wrap; text-align: justify;"><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span>C:\VTK\Data.<br>
                              <span><ggdedbeb.png></span><br>
                            </p><p class="MsoNormal" style="white-space: pre-wrap; text-align: justify;">The environment
                              stated above works very well. However, we
                              need to provide/enable the same
                              configuration between<b> VTK</b> and <b>QT
                                Enterprise Creator 5.3</b>. We used
                              CMake 3.0 to configure the linkage between
                              <b>QT 5.3 and VTK - 6.1.0</b>. </p><p class="MsoNormal" style="white-space: pre-wrap; text-align: justify;">The following
                              variables were configured in CMake:</p><p style="white-space: pre-wrap; text-align: justify;"><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span><b>VTK_Group_Qt:BOOL=ON;</b></p><p style="white-space: pre-wrap; text-align: justify;"><b><span style="font-family: Symbol;">·<span style="font-size: 7pt;">         </span></span>QT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin/qmake.exe. </b></p><p style="white-space: pre-wrap; text-align: justify;">      <br>
                            </p><p class="MsoNormal" style="white-space: pre-wrap; text-align: justify;"><span><eecdhiai.png></span>
                            </p><p class="MsoNormal" style="white-space: pre-wrap; text-align: justify;"><br>
                              <font color="#ff0000">Despite of the above
                                configuration, CMake presents this error
                                message:<br>
                              </font></p><p class="MsoNormal" style="white-space: pre-wrap; text-align: justify;"><font color="#ff0000">CMake            Warning
                                at C:/Program Files          
                                 (x86)/CMake/share/cmake-3.0/Modules/FindQt4.cmake:616
                                           (message):          
                                 C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin/qmake.exe
                                reported            QT_INSTALL_LIBS as  
                                       
                                 "C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/lib"
                                but            QtCore could not be found
                                there. Qt is NOT installed          
                                 correctly for the target build
                                environment.            Call Stack (most
                                recent call first):          
                                 GUISupport/Qt/CMakeLists.txt:68
                                (find_package)   </font>               
                                  </p><p class="MsoNormal" style="white-space: pre-wrap; text-align: justify;"> <font color="#ff0000">CMake Error at
                                C:/Program Files          
                                 (x86)/CMake/share/cmake-3.0/Modules/FindQt4.cmake:621
                                           (message):            Could
                                NOT find QtCore. Check          
                                 C:/VTK/bin/msvc2013_64_opengl/CMakeFiles/CMakeError.log
                                for            more details.          
                                 Call Stack (most recent call first):  
                                         GUISupport/Qt/CMakeLists.txt:68
                                (find_package)   </font>               
                                             <br>
                            </p>Could you guys please advise me on how to properly set up the programming environment in which CMake will build the bridge amongst the VSC++ OpenGL +64, VTK 6.1.0 and QT 5.3? What are our options to direct CMake to recognize QT5.3? The way it is now it only recognizes QT4.0. <p class="MsoNormal" style="white-space: pre-wrap;"><br>
                              Thank you so much.<br>
                            </p></div></div></div><br></div><br></div><br></div>_______________________________________________<br>Powered by<span class="Apple-converted-space"> </span><a moz-do-not-send="true" href="http://www.kitware.com/">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<span class="Apple-converted-space"> </span><a moz-do-not-send="true" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at:<span class="Apple-converted-space"> </span><a moz-do-not-send="true" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a moz-do-not-send="true" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a><br></blockquote></div><br></div></blockquote><br></div><br class="Apple-interchange-newline"></blockquote></div><br></div></div></body></html>