python-qt-tools / PyQt5-stubs

Stubs for PyQt5
GNU General Public License v3.0
66 stars 31 forks source link

PyQt6 stubs example with QtCore #160

Closed TilmanK closed 3 years ago

TilmanK commented 3 years ago

This is a follow-up PR for the discussion about PyQt6 here: https://github.com/python-qt-tools/PyQt5-stubs/issues/69

This PR contains some adjustments to the lib, but most importantly the adapted pyi-File for QtCore. It's basically a merge between the upstream pyi-File and the current stubs (or more precisely, the fixes of the current stubs).

Here are some things that must be discussed:

I'm not sure if this is the right way to go forward with PyQt6 (@The-Compiler already said correctly that we could or should use some automation) - any feedback is highly appreciated. And if someone has a better way or is more experienced - go on and take over. I will just need the stubs in the end ;)