PyQt5インストール時のqmakeエラー

PyQt5インストール時のqmakeエラー

ソースからpython3用のPyQt5をインストールしようとしています。

SIPを正しくインストールしました。

その後、PyQtインストール用にmakeファイルを準備しようとすると、次のエラーが発生します。

#python3 configure.py

Error: /usr/bin/qmake failed to create a makefile. Make sure you have a working
Qt qmake on your PATH or use the -q argument to explicitly specify a working Qt
qmake.

ベストアンサー1

qmakeたぶん、まだインストールしていない可能性があります。 FedoraではQtパッケージにありますが、-develdebian/ubuntuではおそらくそれ自身のパッケージにあります。

> apt-cache search qmake
qt3-dev-tools - Qt3 development tools
qt4-qmake - Qt 4 qmake Makefile generator tool

which qmakeたとえば、と入力して応答を受信できる必要があります/usr/bin/qmake

おすすめ記事