<div dir="ltr"><div><div><div>Mega Mind,<br><br></div>I have a project that is using ParaView with Qt 5.7 on Windows.  Of course we use VS 2013 still, so that may be the difference.  It still sounds like you forgot to set the PARAVIEW_QT_VERSION to 5.  If this is 4 (the default), the CMake scripts will ignore Qt5.  I think it may be smart enough to default to 5 when there is no Qt4 preset which may be why that build worked.  Our build machine has both Qt4 and Qt5 installed and it works fine.  Still, I don't know if anyone has tried Qt5 + VS 2015....  Anyway, your runtime error with the dll not found?  That is a Windows thing.  Not found means it is not in the PATH environment variable's list of folders.  Windows doesn't bake into the executable the paths to its runtime dependencies.  Linux and OSX do, which is why you can typically run things from a build tree there without any problems.  But to run it from Windows, you will need to add the Qt5 dll's directory to your PATH or move it to the same directory as the executable which needs it.<br><br></div><div>Simon,<br><br></div><div>The ParaView Superbuild uses a precompiled python 2.7 that was built with VS 2008.  Python 2.x doesn't support any newer versions (maybe 2010, but we've never used that version of python).  Since the API we link against is pure C, there are no ABI issues with using this prebuilt version.  You should be able to look in the superbuild and find the path for the zip file with the prebuilt python and download/use that one.  I know Python 3 is supported in VTK, but I'm not sure it is fully supported in ParaView yet.<br></div><div><br></div>HTH,<br></div>Shawn<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 13, 2016 at 6:30 PM, Su, Simon M CIV USARMY RDECOM ARL (US) <span dir="ltr"><<a href="mailto:simon.m.su.civ@mail.mil" target="_blank">simon.m.su.civ@mail.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div>you need python in the path for QT 5 to build for windows. specifically python with bz2 module.... both running configure and nmake </div>
<div><br>
</div>
the next problem you will encounter after getting past the QT 5 which I am still stuck is to build python. Python 3 will compile with vs2015 express, python 2.x will not. c++ time zone related variables changes. But I am not able to compile pv with python 3.....
  I even tried to fix the time zone related compile but end up with linking error at the very end. 
<div><br>
</div>
<div>because of this, i think win7 or win10 pv will only work with vs2013 express.....<br>
<div><br>
</div>
<div>hth</div>
<div>-s<br>
<br>
</div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000" size="2"><b>From:</b> ParaView [<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><wbr>] on behalf of Mega Mind [<a href="mailto:123megamind@gmail.com" target="_blank">123megamind@gmail.com</a>]<br>
<b>Sent:</b> Saturday, August 13, 2016 5:00 PM<br>
<b>To:</b> Shawn Waldon<br>
<b>Cc:</b> ParaView list<br>
<b>Subject:</b> [Non-DoD Source] Re: [Paraview] Qt version support update 2016<br>
</font><br>
</div>
<div></div>
<div>All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.
<br>
<br>
<hr><span class="">
<br>
<br>
<div dir="ltr">Have you or anyone successfully built and installed on Win7 64 with Visual Studio 2015? I always get errors when building or opening the paraview.exe. For Qt the 4.x versions seem to have only x86 installs but I installed 4.8 anyway. When trying
 Qt 5.7 I get a failed build with 3 errors and over 350 warnings. Also noted that in Cmake configure it would still reference Qt 4 even after setting Qt5_DIR Qt5Core_DIR Qt5Widgets_DIR  etc and changing all paths to proper reference directories. The only fix
 was to uninstall Qt 4 but I was able to get a build with no errors when it was using both Qt 4 & 5 strangely but when opening paraview,exe the 'system error' message was Qt5Widgets.dll does not exist. It does though and is in "C:\Program Files (x86)\Qt\5.7\msvc2015_64\bin\"
 so I tried to manually change that in any Cmake config file I could find but nothing worked out. I've tried hundreds of things over the past three days and read and followed the wiki many times and I'm coming to the conclusion no one is using Win 64 which
 seems strange to me but I guess everyone is using Unix.<br>
</div>
</span><div class="gmail_extra"><br>
<div class="gmail_quote"><span class="">On Fri, Aug 12, 2016 at 5:18 AM, Shawn Waldon <span dir="ltr">
<<a href="mailto:shawn.waldon@kitware.com" target="_blank">shawn.waldon@kitware.com</a> < <wbr>Caution-mailto:<a href="mailto:shawn.waldon@kitware.com" target="_blank">shawn.waldon@<wbr>kitware.com</a> > ></span> wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<div dir="ltr">
<div>To use Qt5, you have to set the PARAVIEW_QT_VERSION variable to 5 (it still defaults to 4, which is why cmake is complaining).  Note that some things may be buggy when building against Qt5, I don't know the full list of current issues, just that there
 are some.  Also note that you have to specify the location of Qt5 differently to CMake.  CMake doesn't use the QT_QMAKE_EXECUTABLE variable for Qt5, instead it uses Qt5_DIR.  This should point to .../lib/cmake/Qt5 inside your Qt5 install.<br>
<br>
</div>
<div>HTH,<br>
</div>
Shawn<br>
</div>
</span><div class="gmail_extra"><br>
<div class="gmail_quote"><span class="">
<div>
<div>On Fri, Aug 12, 2016 at 5:09 AM, Mega Mind <span dir="ltr"><<a href="mailto:123megamind@gmail.com" target="_blank">123megamind@gmail.com</a> < <wbr>Caution-mailto:<a href="mailto:123megamind@gmail.com" target="_blank">123megamind@<wbr>gmail.com</a> > ></span> wrote:<br>
</div>
</div>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<div>
<div>
<div dir="ltr">
<div>
<div>Has the Qt version support advanced close to 5.7 yet?<br>
</div>
Cmake throws error that Qt 4.x required but read on mailing list some guys are using Qt 5.x.<br>
</div>
<div>I'm installing Qt 4.8.1 but the only option seems to be x86 and for Visual Studio 2010. Trying to build on Win7 64bit with MSVisual Studio 2015 install.<br>
</div>
</div>
<br>
</div>
</div>
______________________________<wbr>_________________<br></span>
Powered by <a href="http://Caution-www.kitware.com" target="_blank">Caution-www.kitware.com</a> < <wbr>Caution-<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><wbr> > <br>
<br>
Visit other Kitware open-source projects at Caution-<a href="http://www.kitware.com/opensou" target="_blank">http://www.kitware.<wbr>com/opensou</a>rce/opensource.<wbr>html < Caution-<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.<wbr>kitware.com/opensource/<wbr>opensource.html</a> > <br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: Caution-<a href="http://paraview.org/Wiki/ParaV" target="_blank">http://paraview.org/<wbr>Wiki/ParaV</a>iew < Caution-<a href="http://paraview.org/Wiki/ParaView" target="_blank">http:/<wbr>/paraview.org/Wiki/ParaView</a> > <br>
<br>
Search the list archives at: Caution-<a href="http://markmail.org/search/?q=" target="_blank">http://markmail.org/<wbr>search/?q=</a>ParaView < Caution-<a href="http://markmail.org/search/?q=ParaView" target="_blank">h<wbr>ttp://markmail.org/search/?q=<wbr>ParaView</a> > <span class=""><br>
<br>
Follow this link to subscribe/unsubscribe:<br></span>
Caution-<a href="http://public.kitware.com/mail" target="_blank">http://public.kitware.<wbr>com/mail</a>man/listinfo/paraview <wbr>< Caution-<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.<wbr>kitware.com/mailman/listinfo/<wbr>paraview</a> > <br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br></div>