I've created an interface on QT designer for an application made with QT5.12. There are QTabWidgets with several tabs in other parts of this app. Except that I'm having a problem with the latest QTabWidget I've just created: the first tab and half of the second are not clickable but all the others can be clicked as if nothing had happened. It's as if there were an area that couldn't be clicked at the beginning of the tabs.
Very similar to this old post but no answers : QTabWidget strange behaviour on mouse click
I tried a long time to check what is different between my other QTabWidget but I couldn't find any differences.
If you have a clue as to how to solve the problem, thank you very much.
Ok, I've just worked out what the problem is. When I opened the window containing my tabs with this strange behaviour, I instantiated a class that inherited from a QWidget but without any interface, which blocked the focus of the first tabs. The non-clickable area looked like this in terms of dimensions:dimensions of strange non clickable behavior
To solve it I just had to replace QWidget by QObject!