I'm trying to load a custom font into an HTML page using QtWebKit. I'm using the following css3 code to do this:

@font-face {
font-family: NokiaStandardLight ;
src: local(NokiaStandardLight), url( NokiaStandardLight.ttf );

.title {
font-family: NokiaStandardLight;
color: green;
float: center;
font-size: 32px;

The font is loaded using Safari or Arora, but isn't when using QtWebKit directly. The font was included into qrc file and I,' using Qt4.6. What could be the problem?

Thanks in advance.