Skip to content

Comment on Avoiding random crashes when multithreading Qtparent

Comments

Point is (and I should clarify in the post): qt doesn't document which functions do and don't update the GUI, and you have no guarantees when calling an arbitrary Qt function that it won't. This is practical advice to stay safe. A seemingly innocuous Qt function might internally update the GUI, as shown in the example.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.