QThread emits finished() signal but isRunning() returns true and isFinished() returns false

后端 未结 3 641
面向向阳花
面向向阳花 2020-12-05 09:02

Below is the code for my qthread implementation. I am trying to get gps data from satellite. QThread doesn\'t produce the finished() signal even when the programs exits

3条回答
  •  爱一瞬间的悲伤
    2020-12-05 09:11

    Which Qt version do you use?

    Qt 4.8 returned wrong values until 4.8.4 (Qt bug 30251). This bug has been fixed in 4.8.5.

提交回复
热议问题