[vtk-developers] configure breaks when Qt5 is used
Yuri
yuri at rawbw.com
Thu Jul 12 04:42:33 EDT 2018
Configure in 8.1.1 fails with errors:
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:123 (file):
Error evaluating generator expression:
$<TARGET_PROPERTY:QVTKWidgetPlugin,COMPILE_DEFINITIONS>
Target "QVTKWidgetPlugin" not found.
Call Stack (most recent call first):
/usr/local/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:187
(qt5_create_moc_command)
GUISupport/Qt/CMakeLists.txt:148 (qt5_wrap_cpp)
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:123 (file):
Error evaluating generator expression:
$<TARGET_PROPERTY:QVTKWidgetPlugin,COMPILE_DEFINITIONS>
Target "QVTKWidgetPlugin" not found.
when these arguments are passed: -DVTK_QT_VERSION:STRING="5"
-DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 -DVTK_Group_Qt:BOOL=ON
Yuri
More information about the vtk-developers
mailing list