Post #1817635
2026-04-26 19:27 UTC
@geospacedman I peeked into the PyQt5 code. Indeed, there is no QtCore attribute in the top-level PyQt5 module. This means that you always have to `import PyQt5.QtCore` (or its sibling modules).
Replies (1)
-
@geospacedman@mastodon.social 2026-04-26 19:30
@sgillies ah thanks for digging into this. I'll write a bunch of conditional PyQt5 or PyQt6 import lines.