Python 3.x Pywinauto标识符为空

Python 3.x Pywinauto标识符为空,python-3.x,ui-automation,pywinauto,Python 3.x,Ui Automation,Pywinauto,当我打印对话框的标识符时,以下是输出 Qt5QWindowIcon - 'b'widget_fenetre_openglWindow'' (L395, T202, R1046,B602) 'b'Qt5QWindowIcon20'' 'b'widget_fenetre_openglWindow'' 'b'widget_fenetre_openglWindowQt5QWindowIcon'' Qt5QWindowGLOwnDCIcon - 'b''' (L400, T202, R1040

当我打印对话框的标识符时,以下是输出

Qt5QWindowIcon - 'b'widget_fenetre_openglWindow''   (L395, T202, R1046,B602)

'b'Qt5QWindowIcon20''
'b'widget_fenetre_openglWindow''
'b'widget_fenetre_openglWindowQt5QWindowIcon''

Qt5QWindowGLOwnDCIcon - 'b'''   (L400, T202, R1040, B602)

'b'''
'b'Qt5QWindowGLOwnDCIcon''
上面还有其他标识符,我需要知道是什么

 Qt5QWindowGLOwnDCIcon - 'b'''   (L400, T202, R1040, B602)
我如何从pywinauto访问该元素,
或者是与ui无关的不可访问元素?

pywinauto 0.5.4不支持Qt应用程序。但您可以尝试gtihub回购的
UIA
分支进行早期测试。您只需将
comtypes
作为附加依赖项安装,并使用
应用程序(backend=“uia”)
。任何反馈都很好。感谢您的回复,因为我是一名初学者,我需要知道如何让pywinauto的UIA分支工作。我要克隆它并从源代码构建吗?只需从master切换到GitHub上的UIA分支,以ZIP格式下载,解包并运行
python setup.py安装
comtypes
可以通过
pip安装-U comtypes安装是的,我能够安装,但它没有改变我遇到的问题,然而,我可以用另一种方法做我想做的事情。谢谢你@VasilyRyabov