I’m trying to wrap my head around threading and gui applications so I can start to build them. I downloaded the Qt SDK but am a bit lost.
Just so I can understand how this works, I want to create a gui application that consists of a text box and two buttons. Each button would start a new thread (so 3 could be running at the same time: the main gui thread, and the 2 initiated from the buttons), and each would have access to the information in the text box. How would I set this application up?
Take a look at SIGNAL and SLOTS it’s the base of Qt .
After you done that take a look at QThread and QThreadPool.
Also i recommend these awsome tutorials : http://www.voidrealms.com/tutorials.aspx?filter=qt