[Qt-qml] Loading font from resource file not working on Symbian

Artur Souza (MoRpHeUz) artur.souza at openbossa.org
Wed Dec 8 16:34:24 CET 2010


On Wed, Dec 8, 2010 at 7:39 AM, Cornelius Hald <hald at icandy.de> wrote:
> in my QML UI I'm loading a font out of a resource file. On Linux and
> Windows it seems to work, but on Symbian (and I think Maemo) I get the
> following error:
>
> qrc:qml/MainWindow.qml:16:5: QML FontLoader: Cannot load font:
> "qrc:qml/fonts/Ubuntu-R.ttf"

Resources are not properly working on Symbian in different parts of Qt.
While using Phonon (QMediaResource) I found it impossible to use a
file inside a Qt resource.

Maybe this is a "general problem" of resources+Symbian and not QML specific.

Cheers,

-- 
-------------------------------------------------------
Artur Duque de Souza
openBossa
INdT - Instituto Nokia de Tecnologia
-------------------------------------------------------
Blog: http://blog.morpheuz.cc
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
-------------------------------------------------------



More information about the Qt-qml mailing list