An extremely minor problem, but an annoying one all the same- as you can see in the picture below, some references are resolved correctly by the linter (like pyqtSignal and pyqtSlot), and some are not (pyqtProperty).
What's even weirder is that code using these 'unresolved' references run just fine, it's just the linter/syntax highlighter that can't seem to find this reference.
Software used:
I'm unable to install these packages on my machine in order to check, but this likely isn't an issue with PyCharm.
Try Ctrl+Click
on QtCore
. I'm guessing this will take you to a file. Is pyqtProperty
in that file? I'm guessing not. However, I'm guessing pyqtSignal
and pyqtSlot
are.
A couple reasons come to mind for why this might be happening
pyqtProperty
is not supported with version 5.6.0 and you need to install a different version
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.