ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

17 August 2025
2025-08-17×
17 August 2025
All good, type hints have other benefits as well: better maintainability and they are enforced. So it's still worth adding them 😄 I was just curious about this ..
I
Generally, I feel some of the C++ documentation does not transfer over well imo. E.g. separating C++ and QML vs Python and QML. It's advised to not do any performance critical things in QML but rather do it in C++. Because C++ is faster than QML. That's not true for Python and QML, at least in my own (very limited) testing, I found QML to be quite a lot faster.
S
But for visual guarantees, I am still puzzled what to do where. As QML in essence for its visual presentation was/is also limited by a single thread.
For me, I try to also take testability into account. I don't think there's a way of testing QML and importing objects from Python. At least, I am not aware of it. So I implement business logic in Python and try to mock it im QML tests. A use case would be testing a Python implementation of a model and the view + delegate in QML.
I
Another question: Is there a way to import resources (qrc file) when running QML tests? I always get a lot of warnings because it cannot resolve my resources 😅
Calendar: August 2025
MoTuWeThFrSaSu1234567891011121314151631761841942021222324252627328293031
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