Unsolved QSocketNotifier can not be enabled or disabled from another thread
-
What if this warning comes!!!?
Does it mean bad programming?
Does it cause any troubles? -
Hi
Often it means there is a design issue where one thread fiddles with some others treads objects.
Sometimes its due to moveToThread mistake or something like that.
It can cause issues in that it wont be disabled/enabled. etc.
Might even crash. -
@MokJ said in QSocketNotifier can not be enabled or disabled from another thread:
What if this warning comes!!!?
Qt issues that warning at runtime.
Does it mean bad programming?
Oh yes, it should be treated as an error in the user code!
As a matter of fact you should treat all warning that come from Qt as errors in the user code.Does it cause any troubles?
It does.