QDialogBox GUI makes a Framebuffer copy
-
@CptN3m0 And if you don't start the thread your app is working properly? I can't see how this thread would influence the GUI.
-
@jsulm can't check right now, how my application would work without this thread.
But mayber because I check if some button in my GUI was clicked or not?if(ui->pB_B->isChecked() == true || ui->pB_B_2->isChecked() == true){ // some code } -
@jsulm well.. I'm doing this in my thread.. this is also the problem, because I'm checking the state of some GUI elements?
-
@CptN3m0 You should not access any UI related classes from other threads than GUI thread. This is not supported.
-
Hi,
Use signals and slots to communicate your UI values to the thread.
-
Well, add two setters to your MyThread class, one for each boolean value that you want to check and connect them to your GUI.
-
Well, add two setters to your MyThread class, one for each boolean value that you want to check and connect them to your GUI.
-
Please show the complete code you are using for that part.