我从源代码构建krita,每次运行cmake .. -DCMAKE_PREFIX_PATH=/Path/to/PyQt5
或cmake .. -DPYQT_SIP_DIR_OVERRIDE=Path/to/PyQt5
时,都会收到此警告,但找不到PyQt5
:
The following OPTIONAL packages have not been found:
* PyQt5 (required version >= 5.6.0), Python bindings for Qt5., <https://www.riverbankcomputing.com/software/pyqt/download5>
当我运行定位或发现它表明我在PyQt5
处有{>
~/anaconda3/share/sip/PyQt5
/usr/share/sip/PyQt5
~/anaconda3/share/sip/PyQt5
~/anaconda3/pkgs/pyqt-5.6.0-py36h0386399_5/lib/python3.6/site-packages/PyQt5
/usr/lib64/qt5/plugins/PyQt5
~/anaconda3/lib/python3.6/site-packages/PyQt5
我尝试了前三个,但是它们不起作用。更多信息:我从fedora存储库安装了python-qt-devel
。
我想念我应该做什么?