Fredrik Averpil

Results 132 comments of Fredrik Averpil

Oops! Classic copy/paste mistake. Sorry. I'll switch those two lines around.

Another workaround, using a PyInstaller [hook](https://pythonhosted.org/PyInstaller/hooks.html). Add a hook `hook-Qt.py` with contents: ```python hiddenimports = ["PySide2.QtXml", "PySide2.QtUiTools"] ``` This triggers the imports in `hiddenimports` on `import Qt` and makes `Qt.QtCompat.loadUi`...

> I think we have to wait on PySide2 to fix itself. I'll have to cast my vote on this one. We'd be looking at quite the amount of patches...

Maya 2018.3 was released yesterday; ```python >>> import PySide2 >>> PySide2.__version__ # Result: 2.0.0~alpha0 # ``` This means Maya is still using a _really_ old version of PySide2 😢

Those modules won't be available on all bindings, in accordance with the VFX Platform specs, as you can see from the failing tests. I would recommend you look into [QtSiteConfig.py](https://github.com/mottosso/Qt.py#qtsiteconfigpy)...

@krets in case QtC decided to move members around between Qt4 and Qt5 in regards to QtWebEngineWidgets, you need to figure out (seems like you already did) how these were...

Edited my previous post for clarity..

Hm. Wasn't something moved to/from QtCore in Qt5... I can't remember right now.

I've had users ask for this in [vscode](https://code.visualstudio.com/) as well. Would be awesome to have. I'm guessing pyi files would be the solution, as mentioned by @chadrik [here](https://github.com/mottosso/Qt.py/issues/124#issuecomment-297547768). However, I've...

I just made a quick attempt to generate pyi files using [`stubgen.py`](https://github.com/python/mypy/blob/master/mypy/stubgen.py): https://drive.google.com/drive/u/0/folders/0B0b1IUnYqENgQTY2WW1xX29fekU I was using PyQt5 as the binding, so not sure how this will work unless you use...