i know nothing cmake. i'm trying use vtk qt. unfortunately, i'm stuck @ cmake part. reason, when press "configure", following error:
cmake error @ guisupport/qt/cmakelists.txt:58 (find_package): not providing "findqt5widgets.cmake" in cmake_module_path project has asked cmake find package configuration file provided "qt5widgets", cmake did not find one.
could not find package configuration file provided "qt5widgets" of following names:
qt5widgetsconfig.cmake qt5widgets-config.cmake
add installation prefix of "qt5widgets" cmake_prefix_path or set "qt5widgets_dir" directory containing 1 of above files. if "qt5widgets" provides separate development package or sdk, sure has been installed.
what i've done :
install qt 5.4.1 windows 64-bit (vs 2013, 722 mb)
install vtk 6.2.0
install cmake 3.2.1
extract vtk, , using cmake gui, set source code path , binary build
set several variable environment :
'cmake_prefix_path = e:\qt\qt5.4.1\5.4\msvc2013_64'
qtdir = e:\qt\qt5.4.1
path = e:\program files (x86)\cmake\bin;e:\vtk\bin\bin\debug;e:\qt\qt5.4.1\5.4\msvc2013_64\bin
in cmake gui, check following options :
vtk_group_qt = true
build_shared_libs = true
vtk_qt_version = 5
qt_qmake_executable = e:/qt/qt5.4.1/5.4/msvc2013_64/bin/qmake.exe
press configure
get above error
what should not error?
thank you!