I need to put an icon at the top left side of QMainWindow. There is a toolbar and a menu bar to the left side, and a toolbar below, similar to this illustration:
How can I achieve this?
I need to put an icon at the top left side of QMainWindow. There is a toolbar and a menu bar to the left side, and a toolbar below, similar to this illustration:
How can I achieve this?
Copyright © 2021 Jogjafile Inc.

This answer is based on my answer on: how to add a header to a QMainWindow before the Menu Bar section?. I will only be modifying it based on your specific use case.
You could make a normal widget that looks like the one you need as a header, simply by using layouts:
Then use the result as a QMainWindow::menuWidget.
The toolbar on the left can be added as usual.
Minimal example:
Result: