<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region" /><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" /><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName" /><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
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";
        color:black;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Hi</span></font>
<font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Bertwim,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">This worked for me – cmake now finds Qt and builds the plugin. Many thanks.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">It isn’t clear to me why it previously worked with PV 4.1.0 but not with 4.2.0. I guess it doesn’t matter as long as it’s working
</span></font><font size="2" color="navy" face="Wingdings"><span style="font-size:10.0pt;font-family:Wingdings;color:navy">J</span></font><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;
color:navy"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Kind regards,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Jim<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p> </o:p></span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" color="black" face="Times New Roman"><span lang="EN-US" style="font-size:12.0pt;
color:windowtext">
<hr size="2" width="100%" align="center" tabindex="-1">
</span></font></div>
<p class="MsoNormal"><b><font size="2" color="black" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold">From:</span></font></b><font size="2" color="black" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;
font-family:Tahoma;color:windowtext">
 ParaView [mailto:paraview-bounces@paraview.org] <b><span style="font-weight:bold">On Behalf Of
</span></b>B.W.H. van Beest<br>
<b><span style="font-weight:bold">Sent:</span></b> 07 October 2014 17:56<br>
<b><span style="font-weight:bold">To:</span></b> <st1:PersonName w:st="on">paraview@paraview.org</st1:PersonName><br>
<b><span style="font-weight:bold">Subject:</span></b> EXTERNAL: Re: [Paraview] Problem building plugin against ParaView 4.2.0</span></font><font color="black"><span lang="EN-US" style="color:windowtext"><o:p></o:p></span></font></p>
</div>
<p class="MsoNormal"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt">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>
<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt">On 10/07/2014 03:25 PM,
<a href="mailto:Jim.Eliot@awe.co.uk">Jim.Eliot@awe.co.uk</a> wrote:<o:p></o:p></span></font></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt" cite="mid:201410071325.s97DPBsq004082@msw1.awe.co.uk" type="cite">
<u1:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"><u1:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><u1:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">Hello everyone,<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" 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.<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">To illustrate the issue, I created the following simplified CMakeLists.txt file:<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">    CMAKE_MINIMUM_REQUIRED<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">    FIND_PACKAGE(ParaView REQUIRED)<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">    INCLUDE(${PARAVIEW_USE_FILE})<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" 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.<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" 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?<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" 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?<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">Any ideas?<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">Thank you,<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial">Jim<u1:p></u1:p></span></font><o:p></o:p></p>
<p class="MsoNormal"><font size="2" color="black" face="Arial"><span style="font-size:
10.0pt;font-family:Arial"><u1:p> </u1:p></span></font><o:p></o:p></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 u2:st="on"><st1:city u2:st="on"><st1:place w:st="on"><st1:City w:st="on">Reading</st1:city></st1:City>,
<st1:postalcode u2:st="on"><st1:PostalCode w:st="on">RG7 4PR</st1:postalcode></st1:place></st1:PostalCode></st1:place></span></font>
<u1:p></u1:p><o:p></o:p></p>
</div>
<p class="MsoNormal"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
<p><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt">___________________________________________________ ____________________________ 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
<st1:country-region w:st="on">England</st1:country-region> and <st1:country-region w:st="on">
Wales</st1:country-region> Registration No 02763902 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>
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt"><br>
<br>
<br>
</p>
<fieldset class="mimeAttachmentHeader"></fieldset><o:p></o:p></span></font>
<p></p>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt">_______________________________________________<o:p></o:p></span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt">Powered by <a href="http://www.kitware.com">www.kitware.com</a><o:p></o:p></span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt"><o:p> </o:p></span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt">Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><o:p></o:p></span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt"><o:p> </o:p></span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt">Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><o:p></o:p></span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt"><o:p> </o:p></span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt">Follow this link to subscribe/unsubscribe:<o:p></o:p></span></font></pre>
<pre><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt"><a href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a><o:p></o:p></span></font></pre>
</blockquote>
<p class="MsoNormal"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
</u1:smarttagtype></u1:smarttagtype></u1:smarttagtype></div>
</body>
</html>

<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>