File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -435,3 +435,20 @@ is directly using enums on Qt class names. If you used `self.EnumName` or other
435435methods of accessing the enum objects the ` --partial ` check may find them. This is
436436unable to automatically fix your code but shows you possible code that you will
437437need to manually fix.
438+
439+
440+ #### QtCore.QWinEventNotifier
441+
442+ This class is only available on Windows, for now we are not exposing it in Qt.py.
443+
444+
445+ ##### Workaround
446+
447+ This can be added to Qt.py using QtSiteConfig.
448+
449+
450+ ``` python
451+ def update_members (members ):
452+ # Add the windows only `QWinEventNotifier`
453+ members[" QtCore" ].append(" QsciAPIs" )
454+ ```
Original file line number Diff line number Diff line change 1313SKIP_MODULES = [
1414 'PyQt5.Qt' , # This module only exists in PyQt5 and is not exposed by Qt.py
1515 'PyQt5.uic.pyuic' , # Problematic as it is executed on import
16+ 'QtCore.QWinEventNotifier' , # This class is only available on Windows.
1617]
1718SKIP_MEMBERS = [
1819 'qApp' # See main README.md on qApp
Original file line number Diff line number Diff line change 219219 "QVariantAnimation" ,
220220 "QVersionNumber" ,
221221 "QWaitCondition" ,
222- "QWinEventNotifier" ,
223222 "QWriteLocker" ,
224223 "QXmlStreamAttribute" ,
225224 "QXmlStreamAttributes" ,
You can’t perform that action at this time.
0 commit comments