-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qmake binary name is hard-coded #4
Comments
The qmake binary name is not hard-coded... https://pyqt-builder.readthedocs.io/en/latest/command_line_tools.html#cmdoption-qmake |
@philthompson10 Thanks for the quick response...! Perhaps, you can help us a little further. We're using PyQt-Builder to build the QTermWidget python module. This is the pyproject.toml file we're using. This results in an error "qmake" not found. How can we incorporate this option |
You have specified PyQt-builder as a dependency but aren't actually using it. See https://pyqt-builder.readthedocs.io/en/latest/example.html#an-example (specifically the |
@philthompson10 Thanks for the example. As a test I tried building QtCharts module for PyQt6 from source. I'm afraid it fails to build. Here is the error message:
Edit: |
On 29/03/2024 09:39, Marcus Britanicus wrote:
@philthompson10 Thanks for the example. As a test I tried building
QtCharts module for PyQt6 from source. I'm afraid it fails to build.
Here is the error message:
```
~/PyQt6_Charts-6.6.0
5s 3.11.8 03:07:29 PM IST
❯ sip-wheel --verbose
pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the
project metadata is deprecated and will be removed in SIP v7.0.0, use
'[project]' instead
sip-wheel: pyproject.toml: 'tool.sip.project.qmake': specify a working
qmake or add it to PATH
```
So use the --qmake option. Note every standard Qt installation has qmake
and qmake6.
|
@philthompson10 Ah thanks. I see that I misunderstood your original message. That was partly because Edit:
Currently, on Arch, qmake points to the binary from qt5-base. Unlike debian and co, arch does not have qt-chooser package. Of course, one can install from aur, but, that's an option and not a necessity. |
On 29/03/2024 10:04, Marcus Britanicus wrote:
@philthompson10 Ah thanks. I see that I misunderstood your original
message. That was partly because `sip-wheel --help` does not list the
`--qmake` option. Thanks a lot for your help!!
It gives the correct help if you have set project-factory.
|
Currently, qmake binary name is hard-coded. This causes issues with Qt6. The qmake binary that comes with Qt6 is named as qmake6. Since the binary name is hard-coded to 'qmake', this causes problems when using sip-wheel to build Qt6 wheels.
Please provide a way to specify the qmake binary name.
The text was updated successfully, but these errors were encountered: