Re: VTK 8.1 + Qt 5.7 + CMake
Paulo Carvalho <[email protected]> Tue, 2 Jul 2019 08:20:16 -0300
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CA+xrYwhH8HgVLPrmyUebAnYmGtVtgodAtO6Puzi_V9WbUG02vw@mail.gmail.com> |
--===============1309828481== Content-Type: multipart/alternative; boundary="00000000000089355d058cb0eef0" --00000000000089355d058cb0eef0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! What do you have for Qt5_DIR in CMake? Mine is C:/W64/msys64/mingw64/lib/cmake/Qt5 That directory is where the main Qt5 .cmake file is located so that the find*() functions in VTK's CMake script can find everything correctly. That directory is usually located where Qt5 libraries and headers were installed or deployed. cheers, Paulo Em ter, 2 de jul de 2019 =C3=A0s 02:43, Cristina Luna Santos <cristina@clun= a.info> escreveu: > Hello! > > Thank you for your response! > > I have this option set in cmake, but it seems to still using Qt4 qmake, > even if I change it to Qt5. > > Cristina Luna > www.cluna.info > > > El 1 jul 2019, a las 12:55, Paulo Carvalho <[email protected]= m> > escribi=C3=B3: > > > > Hello, Cristina ! > > > > Enabling the Qt group is not enough. You have to set which Qt versi= on > > you're using. From your messages, it seems that you have Qt 5 in your > > system, but CMake is trying to use Qt 4. > > > > Go back to CMake and set VTK_QT_VERSION to 5. > > > > Please, address your VTK questions in VTK Discourse: > > h > > --00000000000089355d058cb0eef0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div>Hello!<br><br></div>=C2=A0 What do y= ou have for Qt5_DIR in CMake?=C2=A0 Mine is=C2=A0 <span style=3D"font-size:= 7pt;line-height:107%;font-family:Consolas" lang=3D"EN-US">C:/W64/msys64/min= gw64/lib/cmake/Qt5</span><br>=C2=A0=C2=A0 <br></div><div>=C2=A0 That direct= ory is where the main Qt5 .cmake file is located so that the find*() functi= ons in VTK's CMake script can find everything correctly.<br><br></div><= div>=C2=A0=C2=A0 That directory is usually located where Qt5 libraries and = headers were installed or deployed.<br></div><div dir=3D"ltr"><br></div><di= v>cheers,<br><br></div><div>Paulo<br></div></div><br><div class=3D"gmail_qu= ote"><div dir=3D"ltr" class=3D"gmail_attr">Em ter, 2 de jul de 2019 =C3=A0s= 02:43, Cristina Luna Santos <<a href=3D"mailto:[email protected]">cri= [email protected]</a>> escreveu:<br></div><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex">Hello!<br> <br> Thank you for your response!<br> <br> I have this option set in cmake, but it seems to still using Qt4 qmake, eve= n if I change it to Qt5.<br> <br> Cristina Luna <br> <a href=3D"http://www.cluna.info" rel=3D"noreferrer" target=3D"_blank">www.= cluna.info</a><br> <br> > El 1 jul 2019, a las 12:55, Paulo Carvalho <<a href=3D"mailto:paulo= [email protected]" target=3D"_blank">[email protected]</a>= > escribi=C3=B3:<br> > <br> > Hello, Cristina !<br> > <br> >=C2=A0 =C2=A0 Enabling the Qt group is not enough.=C2=A0 You have to se= t which Qt version<br> > you're using.=C2=A0 From your messages, it seems that you have Qt = 5 in your<br> > system, but CMake is trying to use Qt 4.<br> > <br> >=C2=A0 =C2=A0 =C2=A0Go back to CMake and set VTK_QT_VERSION to 5.<br> > <br> >=C2=A0 =C2=A0 =C2=A0Please, address your VTK questions in VTK Discourse= :<br> > h<br> <br> </blockquote></div> --00000000000089355d058cb0eef0-- --===============1309828481== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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://vtk.org/mailman/listinfo/vtkusers --===============1309828481==--