Everybody should read some Shakespeare (or your language's great author) ... but I digress ;)
I'd recommend the Blanchette/Summerfield book C++ GUI Programming with Qt 4 (2nd Edition)
The camera object is only used on the worker thread but it is created on the main thread because I can have the camera opened and the worker threads stopped.
Accessing memory belonging to another thread without a locking mechanism preventing simultaneous access is asking for trouble.ChrisW67 Yesterday, 23:51
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.