[vtkusers] VTK 8.1 + Qt 5.7 + CMake

Paulo Carvalho paulo.r.m.carvalho at gmail.com
Tue Jul 2 07:20:16 EDT 2019


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 às 02:43, Cristina Luna Santos <cristina at cluna.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 <paulo.r.m.carvalho at gmail.com>
> escribió:
> >
> > Hello, Cristina !
> >
> >    Enabling the Qt group is not enough.  You have to set which Qt version
> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190702/c37e3f07/attachment.html>


More information about the vtkusers mailing list