编译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,升级方法见:





最新评论
同样
站长您好,亚马逊云咨询推广资源,望建立联系,可邮件,谢谢。
换友情链接吗?
看你的站做的挺不错的
恭喜!!太强了,硕博连读啊
雁过留毛,人过留名。
看不懂但大受震撼
每天都在战争,希望2026和平.