11-16-2012 09:19 AM
11-21-2012 10:59 AM
11-21-2012 11:14 AM
I've submitted an example to different fonts in Qt to github but it is not approved yet, for now you can see it here https://github.com/BGmot/Cascades-Community-Sample
I am pretty sure if you drop your custom font files into /usr/fonts/font_repository/ or whatever your fonts folder on your device is Qt will pick it up as available font (sorry did not actually test).
11-21-2012 11:30 AM - edited 11-21-2012 11:32 AM
Thank you for your help BGmot. But how exactly would this embed the font into my application? As far as I see, this only loads fonts installed on the device. I would like the font to be embedded in the application, transparent to user. Besides, you created Native C++ application and I would need to use this with cascades. Could you create example for that please? Including the usage of this font with QML if possible. What I mean is changing the font family of a QML generated label in C++ for example..
Thank you very much!
11-21-2012 11:49 AM
11-21-2012 01:07 PM
@BGmot I've downloaded your example from kit but am having trouble getting it to work:
I'm having problems with step 10, I add the following in to -l but still no luck, any ideas?
cpp, QtCore, QtGui