PDA

View Full Version : GUI Window doesnt close



plopes21
16th January 2013, 15:32
Hi everybody.

I have a problem with windows (widgets) in qt.

In my mainwindow.cpp has



th = new QThread;
features = new Features(&Manager);
features ->moveToThread(th);
th->start();

Hardware cl(status,&Manager,features,this);
a.exec();


The hardware class call other widgtet. This widget has a cancel button with done(REJECTED);
But the window(hardware) doesnt close.

Santosh Reddy
16th January 2013, 15:42
It is not possible to guess the problem with the posted code, could you re-create the problem with an simple example.

Where are you closing the Harware window?
What is cancel button signal connected to?