Hi,

I have a QTabWidget which has 4 tabs in it. I wanted to assign a unique icon for each tab and to do so, I opened my designer and played with currentTabIcon parameter for each of the tab.

Moreover, I give an icon as a parameter when I;

Qt Code:
  1. QIcon icon(":/images/tab_phone_icon.png");
  2. _ui.tabWidgetCalls->addTab(tab, icon,"");
To copy to clipboard, switch view to plain text mode 

I also use qss to give some style to my tabwidget.

The problem here is icon doesn't seem at all. Instead "0" is being written on my tab.