How works MOC ?
Unsolved
Qt Creator and other tools
-
How is idea of MOC? How send singals to slots ? Is where detailed description?
Is impossible like Delphi events: store delegates (= method address + destination object address) as fields of source object? Or signals + slots have more power? especially in multithreaded environment? -
@AndrzejB :-
Here is the Qt documentation link for signal & slot https://doc.qt.io/qt-5/signalsandslots.html
for moc explanation please check below links- https://doc.qt.io/qt-5/why-moc.html
- https://forum.qt.io/topic/79689/the-qt-moc-and-preprocessor/2
- https://doc.qt.io/archives/qt-4.8/moc.html
I hope it will help you to understand moc and working of signal & slot.
-
Hi,
To add to @ankit-thakar, take a look at the moc related articles from Woboq some of them might be old but are still relevant.
By the way, you should go with the Qt 5 version of the moc documentation.