Hi peeps.
I'm creating a worker thread to keep my app responsive while accessing a database etc,
and had a couple of questions.
1. can i call slots in my worker thread from my main thread before i start the thread?
and if so
2. how do i stop this from happening?
also why can't i create a pointer to my thread i.e.
QThreadClass *thread;
QThreadClass *thread;
To copy to clipboard, switch view to plain text mode
I get a sigsev when i try to connect signals and slots, i have to pass a reference to the connect function i.e.
QThreadClass thread;
connect(&thread, SIGNAL(signal(arg)), this, SLOT(slot(arg)));
QThreadClass thread;
connect(&thread, SIGNAL(signal(arg)), this, SLOT(slot(arg)));
To copy to clipboard, switch view to plain text mode
hope i'm not being too daft.....
Bookmarks