编译Qbittorrent4.2.5
的时候出现:
1 2 3 4 5 6 7 8 9 |
checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.23... yes checking whether to enable the Debug build... no checking whether to enable the stacktrace feature... yes checking whether to enable the GUI... yes checking whether to install the systemd service file... no checking whether to enable the WebUI... yes checking for Qt5 qmake >= 5.9.0... not found configure: error: Could not find qmake |
Qbittorrent
是基于PKG
来寻找依赖路径的,所以需要添加一下本地的路径:
PKG_CONFIG_PATH=/usr/local/Qt-5.15.2/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH ./configure
这里需要注意qmake
版本需要大于5.9.0
,如果qmake -v
查看版本小于这个版本的话,需要升级qmake
,升级方法见:
本文最后更新于2021年9月4日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!