问题
Environment:
- Windows 10 version 1903, 64 bit
- CMake 3.15.3
- Qt 5.12.4
- Eigen 3.3.7
- Visual Studio 2015 Update 3
Issue:
When I run cmake -G"Visual Studio 14 2015 Win64" ..
in build
folder created in Eigen 3.3.7 root folder, I got the following error message:
-- Found unsuitable Qt version "5.12.4" from C:/Qt/5.12.4/msvc2015_64/bin/qmake.exe
-- Qt4 not found, so disabling the mandelbrot and opengl demos
I have googled for days but the articles are either about other platforms or do not work. For example, I have double checked that the PATH environment variable is properly set so that where qmake
returns correct path. So, how to make Eigen 3.3.7 happily work with Qt5 when configuring it using cmake (including the mandelbrot and opengl demos), or Eigen3 does not work with Qt5 at all, only with Qt4? I would be surprised if the latter is the answer because Qt5 has been there for nearly a decade. If that is the case, is there any plan for Eigen3 developers to support Qt5 in near future? Thanks.
来源:https://stackoverflow.com/questions/58177083/found-unsuitable-qt-version-5-12-4-from-c-qt-5-12-4-msvc2015-64-bin-qmake-exe