<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Jim,<br>
    <br>
    I had similar issues you describe. They were gone when I made sure
    that, before actually calling cmake,  the right 'qmake' was in the
    PATH  (i.e. 'which qmake'  points to the qmake of the AQT-version
    your expect).  This assumes that you do have a Qt installation which
    is complete. <br>
    In other words: <br>
    1. ensure qmake of the Qt distribution you expect is in your path<br>
    2. ensure your paraview build directory is clean ( rm -rf  
    <path>/build/* )<br>
    3. start the cmake configuration.<br>
    <br>
    Hope this works for you too,<br>
    <br>
    Regards,<br>
    Bertwim<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 10/07/2014 03:25 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:Jim.Eliot@awe.co.uk">Jim.Eliot@awe.co.uk</a> wrote:<br>
    </div>
    <blockquote cite="mid:201410071325.s97DPBsq004082@msw1.awe.co.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="PostalCode"><o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="City"><o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="place"><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
            <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
            <div class="Section1">
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Hello everyone,<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">I am trying to build a file
                    reader plugin against ParaView 4.2.0 and have been
                    experiencing some difficulties. Qt is not found by
                    cmake during the build process causing it to fail.<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">To illustrate the issue, I
                    created the following simplified CMakeLists.txt
                    file:<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">    CMAKE_MINIMUM_REQUIRED<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">    FIND_PACKAGE(ParaView
                    REQUIRED)<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">    INCLUDE(${PARAVIEW_USE_FILE})<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">When I call cmake with
                    ParaView_DIR pointing at my 4.1.0 build Qt is found,
                    but with 4.2.0 Qt is NOT found.<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">ParaView was built using
                    Superbuild and Qt was built as part of that process.
                    Should Qt be detected from ParaViewConfig.cmake?<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Is this a change in behaviour
                    between 4.1.0 and 4.2.0? Do I somehow need to
                    specify the location of Qt manually?<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Any ideas?<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Thank you,<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Jim<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font size="2" face="Arial"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <div>
                <p><b><font size="2" color="#00747b" face="Arial"><span
                        style="font-size:10.0pt;
font-family:Arial;color:#00747B;font-weight:bold">Jim Eliot</span></font></b>
                  <br>
                  <b><font size="2" color="#00747b" face="Arial"><span
                        style="font-size:10.0pt;
font-family:Arial;color:#00747B;font-weight:bold">High Performance
                        Computing Group</span></font></b><br>
                  <font size="2" color="#00747b" face="Arial"><span
                      style="font-size:10.0pt;
                      font-family:Arial;color:#00747B">AWE, Aldermaston,
                      <st1:place w:st="on"><st1:city w:st="on">Reading</st1:city>,
                        <st1:postalcode w:st="on">
                          RG7 4PR</st1:postalcode></st1:place></span></font>
                  <o:p></o:p></p>
              </div>
              <p class="MsoNormal"><font size="3" face="Times New Roman"><span
                    style="font-size:
                    12.0pt"><o:p> </o:p></span></font></p>
            </div>
            <p>
              ___________________________________________________
              ____________________________
              The information in this email and in any attachment(s) is
              commercial in confidence. If you are not the named
              addressee(s) or if you receive this email in error then
              any distribution, copying or use of this communication or
              the information in it is strictly prohibited. Please
              notify us immediately by email at
              admin.internet(at)awe.co.uk, and then delete this message
              from your computer. While attachments are virus checked,
              AWE plc does not accept any liability in respect of any
              virus which is not detected.
              AWE Plc
              Registered in England and Wales
              Registration No 02763902
              AWE, Aldermaston, Reading, RG7 4PR
            </p>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
          </o:smarttagtype></o:smarttagtype></o:smarttagtype></blockquote>
    <br>
  </body>
</html>