Header private/qhexstring_p.h is not found.

怕什么真理无穷 2020-07-13 04:12:30
编译OpenBoard-master 时候,Project ERROR: Unknown module(s) in QT: webkit webkitwidgets
找到对应的qtwebkit-dev进行编译时,打印:
CMake Error at Source/cmake/OptionsQt.cmake:100 (message):
Header private/qhexstring_p.h is not found. Please make sure that:

1. Private headers of Qt5Gui are installed
2. Qt5Gui_PRIVATE_INCLUDE_DIRS is correctly defined in Qt5GuiConfig.cmake
Call Stack (most recent call first):
Source/cmake/OptionsQt.cmake:652 (CHECK_QT5_PRIVATE_INCLUDE_DIRS)
Source/cmake/WebKitCommon.cmake:53 (include)
CMakeLists.txt:137 (include)


怎么解决?类似搜到一个,不太会改动。
https://codereview.qt-project.org/c/qt/qtbase/+/227458/4/mkspecs/features/create_cmake.prf#b58
...全文
109 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

16,216

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧