Cmake 在安装过程中找不到 QT4

Cmake 在安装过程中找不到 QT4

我用了

sudo-apt get install qwtplot3d-qt4-0

安装 qwtplot3d。但是,运行 cmake 时出现以下信息:

 CMake Error at /usr/local/share/cmake-3.4/Module/FindPackageHandleStandardArgs.cmake:148
 (message):   Could NOT find Qt4 (missing: QT_QWTPLOT3D_INCLUDE_DIR
 QT_QWTPLOT3D_LIBRARY)   (found suitable version "4.8.6", minimum
 required is "4.2.0") Call Stack (most recent call first):  
 /usr/local/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)  
 /usr/local/share/cmake-3.4/Modules/FindQt4.cmake:1333
 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)   CMakeLists.txt:152
 (find_package)

我不确定问题是 QT4 还是 QWTPLOT3D

相关内容