pyside2的qml程序中使用QtCharts模块出现运行错误 问题 › 分类: Questions › pyside2的qml程序中使用QtCharts模块出现运行错误 0 赞 踩 admin 管理员 asked 9月 ago 在pyside2中,qml文件中添加ChartView组件后,运行没有出现窗口并出现如下错误: 程序异常结束 The process was ended forcefully. xxx crashed. 1 Answers 1 赞 踩 最佳答案 admin 管理员 answered 9月 ago 替换掉python中创建app对象的代码,即: 将 app = QGuiApplication(sys.argv) 替换为 app = QApplication(sys.argv)