ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

4 January 2021
2021-01-04×
4 January 2021
Hi, happy new Year, I have this error going from 5.15.1 to 5.15.2 : class B(QObject): ... @Property(str, constant=True) ... def id(self): ... return "hello" ... Traceback (most recent call last): File "<input>", line 1, in <module> File "<input>", line 3, in B TypeError: A constant property cannot have a WRITE method or a NOTIFY signal.
J
either WRITE or NOTIFY are set so I wander, what is it ?
I
when i drag and drop the QtreeWidgetItem, the parent doesn't come along with its children, and i wanted to come with it's children, how do i do this?
don't use a QTreeWidget, use a QTReeView, program your model using QABstractItemModel or QStandardItemModel
T
use the model view controller approach to handle drag & drops.
I
i've been workiing on this, and i think it's been 3 weeks since i started, and i was using QTreeWidget, is there any way to do it with QTreewidget
K
the patch was published 2 days after 5.14.2 :-(
on 5.14.2 we released special versions too, 5.14.2.1 and 5.14.2.2
C
is there a reason you cannot use 5.15? the change should be in the latest 5.15
5.15.2 was the last one, we are focusing on Qt6 now.
Only commercial users will get 5.15.3+
J
hmm I'm confused. Not yet in front of my pc. Maybe I installed 5.14.2 instead of 5.15.2
Jim that was a lot of code, I removed the message to improve readability :P it was enough to say "the error remains in 5.15.2" haha
if that was the unfortunate case, you will need to use pyside6 to get that fix
C
can confirm that it works with PySide6
I
APIs is a better way of doing it right??
I
are you talking about a REST API to authentified a software license ?
F
If your application is open source, anyone can trivially remove that check - if it's obfuscated / closed source (though that's difficult with Python; and you will need a commercial Qt/PySide license), anyone still can, it's just a bit more work perhaps
F
also, there might be people who want to use your application without an internet connection; finally, make sure it's all GDPR-compliant and such
F
that's the first thing I've said, but there are other things you might want to think about (like the two I've mentioned above)
Calendar: January 2021
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