Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I have QtreeView and how to make some headers hidden in Qtreeview
What do you mean by some headers ? Is it columns that you want to hide ?
Yes I have A B C D E F and I want to hide some of columns at the start of my application
I know there is a slot hidecolum but it takes column index , I want to hide by name
You can use a loop with headerData to find the column matching the name you want to hide.