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.
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.