-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Debian sid Qt6 compile fails on sip build, python bindings #57760
Comments
Fedora and Debian (testing in my case but I get the same issue) doesn't ship the same PyQt/SIP version. fedora debian I cannot restore the I asked in pyqt list, let's wait their answers. |
I give up! I fail to understand what's going on and I didn't get much help on the mailing list. It could be related to the fact that Qt and PyQt minor version differs on Debian (6.6.2/6.7.0 on sid and 6.4.2/6.6.1 on testing) while the version matches on Fedora. I imagine next step would be to try to build pyqt from the Qt distribution package to have matching version... but I don't have the energy/time left to try this. |
What a mess 😭. One ugly idea I had would be to just add a cmake bool for "SIP_NEEDS_QLIST_QINT64_CONVERSION", and enable the conversion code selectively based on this setting. It'd require developers to set that switch for certain platforms, but at least it'd get things compiling |
Thanks both, for investigating. I'm not in a hurry, and if I really need a Qt6 build (for some plugin), I can use Nyall's conversions.sip. Did we already decide on which python binding system we use in future: PyQt vs the QtPython stuff? |
@nyalldawson Yeah, I thought about something like that, or maybe a
Acutally, I'm also on Debian and it bothers me, and an other contributor already lose some precious time figure out what's going on, so I think we need a fix here.
For now, we stick to PyQt but I still plan to continue the QtPython port to see it it can work. |
@rduivenvoorde Is it just me of is it just working right now ? AFAIK I never see any modification on this on QGIS, but I managed to build QGIS master with Qt6 on debian testing. Do you confirm? |
Mmm, I failed the 12th of sept.... |
Still failing here.
Building using (tried both with and without OAUTH2_PLUGIN):
Keeps failing on (which I earlier fixed by using an old PR of Nyall, but that does not work anymore with me):
|
This issue has been fixed recently #58719 |
Confirmed: a clean Debian testing with vanilla QGIS sources can be compiled to a working state (including Python) now !! \o/ Thanks ALL!! |
What is the bug or the crash?
Trying to compile QGIS in Debian sid (just to see if in near future I can use QGIS on Debian).
I fail to 'just compile' because of:
Asked this earlier on the mailing list, there Nyall proposed to use a fixed
python/PyQt6/core/conversions.sip
:nyalldawson@c9b8c74
This works but apparently it cannot be merged, or the latest versions of the sid packages still are not on par with the Fedora versions??
Note that even after this conversions.sip fix, the install fails because of an error in the dbmanager python plugin (of which I then disable the install).
Steps to reproduce the issue
Create VM with Debian sid, checkout master in your ~/git dir.
Try to Compile QGIS
Versions
In the end of the configure step I get:
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: