【发布时间】:2013-12-14 17:45:11
【问题描述】:
我有一个函数负责关闭我的应用程序。但不知何故 ..quit() 并没有关闭窗口。它不会陷入无限循环或类似的东西。
def onExit():
QtCore.QCoreApplication.instance().quit
sys.exit(app)
shutdown = 1
#set the shutdown var to the child process
parent.send(shutdown)
logProc.join()
return
【问题讨论】: