gpt4 book ai didi

c++ - ubuntu 上缺少 QWT 安装文件

转载 作者:行者123 更新时间:2023-11-30 05:38:46 25 4
gpt4 key购买 nike

我正在尝试在我的 ubuntu 机器上安装 QWT 库,以便将它与 QTcmake 一起使用。我使用突触包管理器下载并安装版本 6.0.0 但问题是当我在我的代码中包含 qwt/qwt.h 我得到以下编译错误:

/usr/include/qwt/qwt_global.h:13:21: fatal error: qglobal.h: No such file or directory
#include <qglobal.h>
^
compilation terminated.

我找不到任何修复它的方法。感谢您的帮助。

最佳答案

http://packages.ubuntu.com允许搜索文件名。

正在搜索 qglobal.h: http://packages.ubuntu.com/search?searchon=contents&keywords=qglobal.h&mode=exactfilename&suite=trusty&arch=any

所以你需要为qt4或者qt5安装qt开发包

关于c++ - ubuntu 上缺少 QWT 安装文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32589077/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com