ok, there were indeed some problems with the resource file.

Nevertheless I can't initialize the svg image directly:

Qt Code:
  1. QGraphicsSvgItem item(":/standard.svg");
To copy to clipboard, switch view to plain text mode 

no error and the place for the image is reserved, but I can't see the image.

It does work if I change the code to:

Qt Code:
  1. QSvgRenderer *renderer = new QSvgRenderer(QLatin1String(":boards/standard.svg"));
  2.  
  3.  
  4. item->setSharedRenderer(renderer);
  5.  
  6. scene.addItem(item);
To copy to clipboard, switch view to plain text mode 

So do I really have to it this way? Can't I directly load the svg image?

Thanks for your help