Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
OSX, PyQt5: find_qmake_path fails because it doesn't include the bin directory #2220
I am building an app using the develop branch of pyinstaller. I stepped through hook-PyQt5.QtWebEngineWidgets.py to see why QtWebEngineCore wasn't working, and I noticed that get_qmake_path was failing. I'm able to work around this issue by using the QT5DIR environment variable, but I thought I'd report this.
I think the following solution would work, but I'm not very familiar with the codebase at all, so I'm submitting this as an issue and not a PR. I could submit a PR if this solution looks correct.
In PyInstaller/utils/hooks/qt.py on line 160, change this line:
- qmake = os.path.join(directory, 'qmake') + qmake = os.path.join(directory, 'bin', 'qmake')
PS: I'm using Python, qt, and PyQt5 from
and pyinstaller from