ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

snapshot for June 2021
‹ June 2021 ›×
27 June 2021
I
Any help would be appreciated. Thanks
Ricardotext not yet in the index
Maybe the loading finished signal is triggered before the SVG is fully rendered? If nothing else helps and it doesn't need to be fast, I'd just wait another second or so before triggering the print (with a QTimer)
F
I didn't really look at the rest of the code in detail, but perhaps you just forgot an .emit there?
29 June 2021
V
Hi everyone! shiboken6 generates <module>_python.h(pyquotient_python.h) that includes itself in part 'Module includes': // Module Includes #include <pyside6_qtcore_python.h> #include <pyside6_qtnetwork_python.h> #include <pyquotient_python.h> What could be the reason of such behavior? Incorrect typesystem load or something like that?
C
in all the examples I remember usually that's mainly related to PySide modules, not the header of the same app.
V
Cristián 🥑might be the case you have the same module name, as your project name?
No, there is no such module. It seems so that I found the reason. I have following structure of typesystem files: - jobs/ — typestem_job1.xml — typesystem_job2.xml - typesystem_index.xml Both jobs are loaded in typesystem_index.xml with generate="yes". And if I load typesystem_job2.xml in typesystem_job1.xml with generate="no", I get that error. Both jobs typesystem definitions have the same structure: <typesystem package="PyQuotient"> <load-typesystem name="typesystem_core.xml" generate="no" /> <namespace-type name="Quotient"> <value-type name="IdentityServerInformation" /> </namespace-type> </typesystem> Difference is only in name of class. In typesystem_index.xml I just load both jobs for generation: <typesystem package="PyQuotient"> <load-typesystem name="jobs/job1.xml" /> <load-typesystem name="jobs/job2.xml" /> </typesystem> Is it a bug or should I somehow restructure definitions?
id 289097250Ссылка
Here is a sample qthread implementation I wrote for you. - Created a class extending QThread from Pyside - Override run method - Did a http get call with requests from run method - Created a signal which will be emitted from run when request operation is complete - Connected to the custom signal to print the data
Файл
qthread_sample.py · 1 KB · click to show
A
I hope this solves your purpose
30 June 2021
I
Is qtwebengine available on pyside2
I want to new in pysise2
I
ModuleNotFoundError: No module named 'PySide2.QtWebKitWidgets'
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