【发布时间】:2017-11-03 16:38:30
【问题描述】:
我正在尝试从源代码构建 QtWebengine,所以我所做的是我从 http://code.qt.io/cgit/qt/qtwebengine.git/ 下载了 qtwebengine
我还安装了http://wiki.qt.io/QtWebEngine/How_to_Try 上列出的所有依赖项
我按照步骤 cd 进入文件夹并运行
git submodule update --init
然后qmake 但我收到了这个错误:
~/Documents/qtwebengine 5.10
❯ qmake -r
Cannot read /home/austin/Documents/qtwebengine/qtwebengine-config.pri: No such file or directory
/home/austin/Documents/qtwebengine/mkspecs/features/platform.prf:68: 'qtConfig' is not a recognized test function.
/home/austin/Documents/qtwebengine/mkspecs/features/configure.prf:33: 'qtConfig' is not a recognized test function.
Required gperf could not be found.
QtWebEngine will not be built.
我需要创建自己的 qtwebengine-config.pri 文件吗?
ps:我目前使用的是 Ubuntu 16.04 LTS
【问题讨论】:
-
Required gperf could not be found.— @applepie,这不是说它找不到构建所需的特定版本的 gperf 工具吗?
标签: qt qt5 qtwebengine