I have this code, which shows a blank widget!


Qt Code:
  1. {
  2. QToolButton *toolButton = new QToolButton(0);
  3. QIcon *newTabIcon = new QIcon("newTab.svg");
  4. toolButton->setIcon (*newTabIcon);
  5. mainSplitter->addWidget(toolButton);
  6. }
To copy to clipboard, switch view to plain text mode 

Is this the right way to use SVGs in qt 4.1.1?