ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

16 April 2022
2022-04-16×
16 April 2022
C
that's a perfect simple contribution :) the content of that description page is based on the READMEs of the project ;)
F
will probably open some bugs at some point, but giving up for now again
C
Wheels are now on PyPi! 🎉 so you can use pip install pyside6_essentials or pip install pyside6 without the --index-url option anymore 🥳
K
Cristián 🥑text not yet in the index
Additionally, if you work with QML, the tool will search for QML types and generate the .qmltypes file in case you want to include qmllint into your workflow This is from the email you sent out about the release. With Qt 5.15, C++ Qt added QML_ELEMENT, to simplify registration of classes with QML. It also was done to make it possible for static analysis tools to generate code completion models for QML without the need for the qmltypes file. Python added @QML_ELEMENT with PySide6. Is it not possible to use that same construct for code completion with Python modules? I guess the fact that it's not a compiled language, and classes can be altered at any time dynamically causes issues with that.
C
@Keithel can you give an example of your question? I didn't get the idea of using a similar QmlElement for python modules
Cristián 🥑@Keithel can you give an example of your question? I didn't get the idea of using a similar QmlElement for python modules
Ссылка
click to show
https://www.qt.io/blog/qml-type-registration-in-qt-5.15 From Ulf Hermann. An excerpt that relates to what I'm talking about: Furthermore, as you register your types procedurally, any QML tooling cannot automatically tell which types are available in which import. Qt Creator indeed has some heuristics that try to detect common registration patterns in C++ code, but this is necessarily incomplete. Figuring out whether a specific registration will be executed by the program is equivalent to solving the halting problem. Simpler tools like qmllint or qmlformat have no information about the C++ code and need to analyze your QML code in isolation. Therefore, they won't have any information about types registered from C++. In order to (partially) solve this problem the "qmltypes" files were introduced.
Does the sync bot for irc sync telegram message edits?
@Numerlor , I'm not following the conversation here (maybe it's not all being mirrored to TG?) What's happening?
Hm. 🤔 Interesting. Can you boil it down to a simple example (just show a single widget, provide instructions for what to do with the mouse, print a log message in the erroneous situation (leave event without corresponding enter event), and report it as a bug at bugreports.qt.io ?
Replymessage unavailable
Sure. The R&D folks might grumble, but you can tag me and when I get some time I can translate it to C++. In most cases it's easy to translate.
@numerlor Do search the bug database to see if anyone's reported it already first though.
If you think it's the same issue, I'd revive that one.
K
Doesn't matter if it's 15 years old or not. It'll get attention.
Calendar: April 2022
MoTuWeThFrSaSu12345672891071111213101411511616171818192092152217232425226192772821291130
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