<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>If you _<i>want</i>_ to use QtCreator to write your programs that is no problem to use QtCreator and have it use the Visual Studio Tool Chain to compile your codes and dependent library. If you google “QtCreator Visual Studio” there is a link to a QtCreator Wiki article that describes in detail how to setup QtCreator to use the Visual Studio toolchain (compilers, linkers…). It is probably easier to use the Visual Studio tool chain if you are trying to create a program that uses VTK and Qt.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>--<o:p></o:p></p><p class=MsoNormal>Mike Jackson<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-left:.5in'>On 8/18/18, 5:17 AM, "vtkusers on behalf of Talal Albader" <<a href="mailto:vtkusers-bounces@public.kitware.com">vtkusers-bounces@public.kitware.com</a> on behalf of <a href="mailto:badertalal@gmail.com">badertalal@gmail.com</a>> wrote:<o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Hi ,<o:p></o:p></p><div><p class=MsoNormal style='margin-left:.5in'>thanks for the informations,<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>actually i am using msys 2  and mingw-64, the workflow i followed is by installing msys2 ,then adding mingw-w64 toolchain followed by qt 64 installation (all inside msys2)<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>then i downloaded vtk-8.1.1<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>the good news that i managed to compile it at the end , by trial and error work and iterations, just remove everything and try to do fresh build everytime.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>the latest error i face was comming from segy module which i disabled and the library compiled and built  with only wornings <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>that is for msys and mingw-w64 branch <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>for visualstudio branch i found that qt creator is combiled to be 32 bit and it has only mingw 32 bit compiler so i droped the hole idea <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>last but not least  , i think this is a pure VTK issue  not related to qt or mingw ,because other libraries are just going smooth and easy, why vtk build system not like other libraries (sorry to say that but really a greate library like this with too many use cases for visualization)  it should be easy to install <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>P.S.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>after successfuly compiling VTK i found in msys  pacman -Ss vtk  that there is vtk library there but no  VTK with Qt  , if it could be added to msys2 libraries will be great<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>thanks for all and sorry for the too many words <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>regards<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p></div></div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-left:.5in'>On Fri, Aug 17, 2018 at 3:36 PM Fcs <<a href="mailto:ftpronk@engits.com">ftpronk@engits.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal style='margin-left:.5in'>Ok.  This is clearly the wrong place for Qt/mingw support as it is not VTK<br>related.<br><br>However, it sounds like you are mixing up the mingw toolchain instructions.<br>Make sure you only use MSYS2 and mingw-w64, and only follow the instructions<br>related to those tools. If you are trying to compile with mingw32-make, you<br>are doing something wrong, it's an obsolete tool. MSYS is unrelated to<br>MSYS2, and mingw is not the same as mingw-w64.  The instructions are a bit<br>confusing on that one. Also, make sure you are using mingw-w64  with the<br>correct thread and error model, and in 64 bits. (Unless you need 32 bit<br>software..)<br><br>Using QtCreator with native VS code shouldn't be an issue, you are not<br>linking to QtCreator so it shouldn't matter what it is compiled with, as<br>long as it runs.<br><br>The Qt libraries from the Qt installer are compiled with Visual Studio, as<br>is Python (if you need Python support with VTK), so you shouldn't have an<br>issue compiling VTK with Qt support.<br><br>Kind regards.<br><br><br><br>--<br>Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="https://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><o:p></o:p></p></blockquote></div><p class=MsoNormal style='margin-left:.5in'>_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: https://public.kitware.com/mailman/listinfo/vtkusers <o:p></o:p></p></div></body></html>