QtWS17 - QObject Deep Dive, Bo Thorsen, Viking Software
In this talk, we will dive very deep into the belly of the beast and discuss how QObject actually works. You will see what moc does, how it’s related to QObject and why it’s necessary. You will learn all there is to learn about what QObject does for your objects. We will also look at the Qt event loop and see how this is related to QObject and the Qt signals. This is necessary to understand what happens to your Qt signals. And finally, we will have a discussion about how this should modify the architecture of your code, how you should modify the way you think code to best make use of Qt. The full use of Qt allows you to code self contained components – getting away from the dreaded spaghetti code. The aim of this talk is to give the developer the necessary background knowledge to make the right decisions about Qt based designs in the code.