ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

snapshot for April 2020
‹ April 2020 ›×
27 April 2020
is there another open bug?
I can try to clos eit
C
ah, you moved, since I saw the assigned person :P
Ë
yea I managed to move it. wondered where there is anything about "PySide" 😄
Cristián 🥑text not yet in the index
But, what if qt wheels for pyside2 and qt wheels for my lib will are different? For example, pyside2 wheels were built with CLang, my wheels with gcc 8,3. Sorry, I still not understand (
.
Just imagine the simple sitaution. 1. I added my pip package with my qt wheels compiled, for example, with gcc 8.3. 2. The pyside2 contains Qt wheels that compiled with clang. 3. The user import pyside2 and my package in the target python script. 4. The user will connect to the signals defined in my package via pyside2 QObject.connect Are there any problems?
if you go out that ABI, you will have problems because libc++ and libstdc++ are not 100% the same.
C
so if you are allow to pass the libstdc++ option to your clang compiler
At this time my binaries are compiled with gcc 8.3 on linux
.
and msvs2019 on windows
then you need to be compatible with that pyside2 use to generate the diff set of wheels
for that, you can just download a wheel for each platform, unzip it, and see which one are linked
C
there are the minimal prerrequisites for each platform
wheel, if you are planning to create wheels for your project, I'd expect you know where to find them :P
30 April 2020
Hello, I’ve decided to test the app under Python 3.6 using pyenv and get the strange behavior. I have a Signal defined in a top-level QML widget like this ApplicationWindow { … signal backendLoaded(bool success) onBackendLoaded: { … } and emit it from the Python like this main_window = engine.rootObjects()[0] main_window.backendLoaded.emit(success) # inform the GUI All works great on 3.7 and 3.8 but on 3.6.10 I got this
Файл
tg_image_2130734134.jpeg · 24 KB · click to show
U
PySide2.__version__ is 5.14.2
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