<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thank you.<br>
    <div class="moz-cite-prefix">On 7/29/14 7:34 PM, Andrew Maclean
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHDsG9Oi3ZcPX0mD_Z1LDD9FwiXC0iVkwf0sqFP+2oiQch2Jmg@mail.gmail.com"
      type="cite">
      <div dir="ltr">It is better not to change the CMake file because
        if you update VTK this file will be overwritten.
        <div><br>
        </div>
        <div>When you first start cmake you can always use Add Entry,
          type in the name: VTK_QT_VERSION set the Type to String and
          type in 5 for the value. <br>
          <div><br>
          </div>
          <div>Andrew</div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Jul 30, 2014 at 9:21 AM, Luis
          Vieira <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:luis.vieira@vektore.com" target="_blank">luis.vieira@vektore.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Thank you so much. I
              gotta with Qt 5.3 toggling "Advanced" and "Group" checking
              VTK_QT_VERSION to "5" and change <span
                style="font-weight:bold;color:rgb(153,153,153);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe
                UI Emoji','Segoe UI
Symbol';font-size:18px;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:25.200000762939453px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span><a
                    moz-do-not-send="true"
                    href="https://github.com/Kitware/VTK"
style="color:rgb(65,131,196);text-decoration:none;background:transparent"
                    target="_blank"><span>VTK</span></a></span></span><span
                style="color:rgb(153,153,153);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe
                UI Emoji','Segoe UI
Symbol';font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:25.200000762939453px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span> </span>/<span> </span></span><span><a
                  moz-do-not-send="true"
                  href="https://github.com/Kitware/VTK/tree/master/CMake"
style="color:rgb(65,131,196);text-decoration:none;background:transparent"
                  target="_blank"><span>CMake</span></a></span><span
                style="color:rgb(153,153,153);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe
                UI Emoji','Segoe UI
Symbol';font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:25.200000762939453px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"><span> </span>/<span> </span></span><strong
                style="font-weight:bold;color:rgb(0,0,0);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe
                UI Emoji','Segoe UI
Symbol';font-size:18px;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:25.200000762939453px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">vtkQt.cmake
                with<br>
                <br>
              </strong><br>
              <pre style="overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:18px;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px"><div style="padding-left:10px;min-height:18px"><span style="color:rgb(0,134,179)">set</span><span>(</span><span style="color:rgb(221,17,68)">VTK_QT_VERSION</span> <span style="color:rgb(221,17,68)">"<big><big><big><big><big><b>5</b></big></big></big></big></big>"</span> <span style="color:rgb(221,17,68)">
CACHE</span> <span style="color:rgb(221,17,68)">STRING</span> <span style="color:rgb(221,17,68)">"Expected Qt version"</span><span>)</span></div><div style="padding-left:10px;min-height:18px"><span style="color:rgb(0,134,179)">mark_as_advanced</span><span>(</span><span style="color:rgb(221,17,68)">VTK_QT_VERSION</span><span>)</span></div>
<div style="padding-left:10px;min-height:18px">
</div><div style="padding-left:10px;min-height:18px"><span style="color:rgb(0,134,179)">set_property</span><span>(</span><span style="color:rgb(221,17,68)">CACHE</span> <span style="color:rgb(221,17,68)">VTK_QT_VERSION</span> <span style="color:rgb(221,17,68)">PROPERTY</span> <span style="color:rgb(221,17,68)">STRINGS</span> <span style="color:rgb(221,17,68)">4</span> <span style="color:rgb(221,17,68)">5</span><span>)</span></div>
<div style="padding-left:10px;min-height:18px">
</div><div style="padding-left:10px;min-height:18px"><span style="color:rgb(0,134,179)">if</span><span>(</span><span style="color:rgb(221,17,68)">NOT</span> <span>(</span><span style="color:rgb(221,17,68)">VTK_QT_VERSION</span> <span style="color:rgb(221,17,68)">VERSION_EQUAL</span> <span style="color:rgb(221,17,68)">"4"</span> <span style="color:rgb(221,17,68)">OR</span> <span style="color:rgb(221,17,68)">VTK_QT_VERSION</span> <span style="color:rgb(221,17,68)">VERSION_EQUAL</span> <span style="color:rgb(221,17,68)">"5"</span><span>))</span></div>
<div style="padding-left:10px;min-height:18px">  <span style="color:rgb(0,134,179)">message</span><span>(</span><span style="color:rgb(221,17,68)">FATAL_ERROR</span> <span style="color:rgb(221,17,68)">"Expected value for VTK_QT_VERSION is either '4' or '5'"</span><span>)</span></div>
<div style="padding-left:10px;min-height:18px"><span style="color:rgb(0,134,179)">endif</span><span>()</span></div></pre>
              <div>
                <div class="h5"> <br>
                  <br>
                  <div>On 7/29/14 7:01 PM, Andrew Maclean wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Luis, you should have no problems
                      building VTK 6.1+ with QT5.3  and VS2013 I have
                      attached the instructions I use.
                      <div>There is a link you also might like to look
                        at: <a moz-do-not-send="true"
                          href="http://www.vtk.org/Wiki/VTK/Configure_and_Build#Qt5..2A"
                          target="_blank">http://www.vtk.org/Wiki/VTK/Configure_and_Build#Qt5..2A</a>
                        <div> <br>
                        </div>
                        <div>However my instructions do differ from
                          those there.</div>
                        <div><br>
                        </div>
                        <div>Regards</div>
                        <div>   Andrew<br>
                          <div class="gmail_extra"><br>
                            <br>
                            <div class="gmail_quote">
                              <blockquote class="gmail_quote"
                                style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
                                <br>
                                ---------- Forwarded message ----------<br>
                                From: Luis Vieira <<a
                                  moz-do-not-send="true"
                                  href="mailto:luis.vieira@vektore.com"
                                  target="_blank">luis.vieira@vektore.com</a>><br>
                                To: <a moz-do-not-send="true"
                                  href="mailto:vtkusers@vtk.org"
                                  target="_blank">vtkusers@vtk.org</a><br>
                                Cc: <br>
                                Date: Tue, 29 Jul 2014 13:28:57 -0400<br>
                                Subject: [vtkusers] CMake problem (VTK
                                6.1 - Qt 5.3)<br>
                                <div bgcolor="#FFFFFF" text="#000000"> <br>
                                  <div> Hi. I am beginner with Qt and
                                    VTK. Then,  I will let you how I
                                    have doing. I have been working with
                                    Qt 5.3.1 and VS2013 perfectly. Last
                                    week I tried to set up VTK 6.1 with
                                    VS2013 through CMake 3.0 and works
                                    perfectly. As well you could see
                                    below.  Now, I am try to enable VTK
                                    with Qt 5.3.1 through CMake.
                                    However, whatever I do to set VT_QT
                                    options my CMake only found Qt4
                                    through this file <span
                                      style="color:rgb(255,0,0)">FindQt4.cmake
                                      <font color="#000000">in my
                                        C:\Program Files
                                        (x86)\CMake\share\cmake-3.0\Modules.
                                        I am pretty sure that it's the
                                        problem.</font></span><br>
                                    <br>
                                    <br>
                                    <br>
                                    <b>CMAKE_INSTALL_PREFIX : C:/Program
                                      Files/VTK/buildQt</b><b><br>
                                    </b><b> CMAKE_PREFIX_PATH:
                                      C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin</b><span
                                      style="font-family:Symbol"><br>
                                      <span></span></span><b>VTK_Group_Qt:BOOL=ON;</b><b><span
                                        style="font-family:Symbol"><br>
                                        <span></span></span>QT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin/qmake.exe.



                                      <br>
                                    </b><br>
                                    <br>
                                    <img
                                      src="cid:part7.02080001.06060109@vektore.com"
                                      alt="" height="430" width="659"><br>
                                    <br>
                                    <img
                                      src="cid:part8.06060101.01090701@vektore.com"
                                      alt=""><br>
                                    <br>
                                    Where I could change that?<br>
                                    "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."<br>
                                    <div><br>
                                      Thank you.<br>
                                    </div>
                                  </div>
                                  <br>
                                </div>
                                <br>
_______________________________________________<br>
                                vtkusers mailing list<br>
                                <a moz-do-not-send="true"
                                  href="mailto:vtkusers@vtk.org"
                                  target="_blank">vtkusers@vtk.org</a><br>
                                <a moz-do-not-send="true"
                                  href="http://public.kitware.com/mailman/listinfo/vtkusers"
                                  target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
                                <br>
                              </blockquote>
                            </div>
                            <br>
                            <br clear="all">
                            <div><br>
                            </div>
                            -- <br>
                            ___________________________________________<br>
                            Andrew J. P. Maclean<br>
                            <br>
                            ___________________________________________
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        ___________________________________________<br>
        Andrew J. P. Maclean<br>
        <br>
        ___________________________________________
      </div>
    </blockquote>
    <br>
  </body>
</html>