PyQt5和QtQuick

时间:2014-05-18 08:45:33

标签: python-3.x pyqt

当我尝试运行文件夹PyQt5 \ examples \ quick \ tutorials \ extending \ chapter1-basics中的PyQt5 QtQuick示例时,我收到此错误:

QQmlExpression: Expression file:///(...)/example.qml:17:15 depends on non-NOTIFYable properties:  
    PieChart::name  
class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Could not initialize egl display: error 12289  

QtQuick: failed to create OpenGL context

我是否必须配置一些用于运行此示例的内容?

1 个答案:

答案 0 :(得分:3)

尝试安装DirectX Runtime,重新启动并再次启动脚本。在某些情况下,PyQt QtQuick需要在Windows上正常工作。