Why I get “QTimer can only be used with threads started with QThread” messages if I have no QTimer in my code?

前端 未结 3 1768
没有蜡笔的小新
没有蜡笔的小新 2021-02-20 17:40

When (and only when) I quit my application, these (and only these) repeated message appear on the command prompt:

QObject::startTimer: QTimer can only be used wi         


        
3条回答
  •  太阳男子
    2021-02-20 18:06

    pass in self into the instantiation of it if you are not subclassing it like so QFileSystemModel(self)

提交回复
热议问题