ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

14 October 2022
2022-10-14×
14 October 2022
C
the matrix.org is the old one, before we moved to the KDE matrix instance. Algo this room is bridged to Telegram and Gitter
@cmaureir in fact it is weird when I post on the new KDE matrix instance it seems my messages reach this telegram room, but when you answer I only see your message on the older matrix.org instance
A
anyway, I asked few month ago about doc/examples on how to publish on PyPi binary wheels with custom C++ code wrapped with Shiboken, I didn't see any answer, is this something supported? I can see some people pushing PyQt/SIP binary wheels but I didn't find anyone doing so with PySide/Shiboken. Unless I missed something the issue I see is that since shiboken generator isn't published on PyPi, I have to build it myself in a way that allows building "universal" binary wheels of my wrappers for each platform.
well it shouldn't be different to any other binary package. You use your locally built shiboken generator, create the binaries, and then package the module into a wheel.
A
I found my original message with my issue: " Hello, I wonder if I missed something in the binding procedure, from what I understand I have to build shiboken6-generator myself. Then my python extension module get linked to my self built pyside/shiboken which has a specific name like 'libshiboken6.cpython-310-x86_64-linux-gnu.so.6.2'. While the PyPi Shiboken dll is 'libshiboken6.abi3.so.6.3'. This means that I should build pyside from the same env than PyPi's PySide(pypa manylinux_?) to get shiboken-generator and produce a wheel usable from PyPi? "
if at some point you have a question and it's not answered here, please file a 'Suggestion' or 'User story' on JIRA, then all the developers can check it out.
A
it looks like this PR brakes the following code: >>> QtCore.Qt.CTRL | QtCore.Qt.SHIFT | QtCore.Qt.Key_C Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/jeandet/.local/lib/python3.10/site-packages/PySide6/support/deprecated.py", line 91, in func_or return QtCore.QKeyCombination(self, other) TypeError: 'PySide6.QtCore.QKeyCombination.__init__' called with wrong argument types: PySide6.QtCore.QKeyCombination.__init__(Modifier, Modifier) Supported signatures: PySide6.QtCore.QKeyCombination.__init__(Union[PySide6.QtCore.QKeyCombination, PySide6.QtCore.Qt.KeyboardModifiers, PySide6.QtCore.Qt.Key]) PySide6.QtCore.QKeyCombination.__init__(PySide6.QtCore.Qt.Key = PySide6.QtCore.Qt.Key.Key_unknown) PySide6.QtCore.QKeyCombination.__init__(PySide6.QtCore.Qt.KeyboardModifiers, PySide6.QtCore.Qt.Key = PySide6.QtCore.Qt.Key.Key_unknown) PySide6.QtCore.QKeyCombination.__init__(PySide6.QtCore.Qt.Modifier, PySide6.QtCore.Qt.Key)
are you aware of the new enum system?
C
it was announced in 6.3, where you can test it out with a env variable. In 6.4 is default behavior
A
not totally, I just discovered that my app using QtConsole wasn't working anymore
A
And just reverted to PySide 6.3.0 where it works
A
Yes I'll look more in details and see if it makes sense to do a PR QtConsole or wait for it to be handled in QtPy
Calendar: October 2022
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog