[vtkusers] VTK 8.1 + Qt 5.7 + CMake
paulo.r.m.carvalho at gmail.com
Tue Jul 2 07:20:16 EDT 2019
What do you have for Qt5_DIR in CMake? Mine is
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.
Em ter, 2 de jul de 2019 às 02:43, Cristina Luna Santos <cristina at cluna.info>
> 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
> > El 1 jul 2019, a las 12:55, Paulo Carvalho <paulo.r.m.carvalho at gmail.com>
> > 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...
More information about the vtkusers