MouseArea not working on headerDelegate
I have a TreeView with a custom headerDelegate which contains a MouseArea. The problem is that the MouseArea never catches mouse events. I ve even put a button on the header but it does not work neither. Is there anything I can do?
Note: I am using Qt 5.6 alpha.