尽管已经安装,cmake 仍找不到 QtCore

尽管已经安装,cmake 仍找不到 QtCore

我正在尝试在 Kubuntu(KDE Plasma 版本 5.16.5)上安装 gplates-2.2.0。我安装了所需的软件包,包括 libqt4-dev( )。但是,当我在 GPlates 目录中libqt4-dev is already the newest version (4:4.8.7+dfsg-7ubuntu3)运行时,我收到此错误消息:cmake .

CMake Error at cmake/modules/FindQt4.cmake:578 (MESSAGE):
  Could NOT find QtCore.  Check
  /home/cta/gplates-2.2.0/CMakeFiles/CMakeError.log for more details.
Call Stack (most recent call first):
  src/CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/cta/gplates-2.2.0/CMakeFiles/CMakeOutput.log".
See also "/home/cta/gplates-2.2.0/CMakeFiles/CMakeError.log".

CMakeCache.txt有以下几行:

//The location of the Qt docs
QT_DOC_DIR:PATH=/usr/share/qt4/doc
...
//Path to a file.
 352 QT_QTCORE_INCLUDE_DIR:PATH=/usr/share/qt4/include/QtCore

所有这些目录都存在,尽管我对 Qt 了解不够,不知道它们是否有正确的文件。它们最初还指向 中的目录/home/cta/anaconda3,这些目录也存在(我手动更改了它们)。我不知道这里的问题可能是什么,所以任何帮助都将不胜感激!

相关内容