[Qt-interest] Fonts in Qml
Alessandro Portale
alessandro.portale at nokia.com
Fri Jan 21 19:22:19 CET 2011
Hi,
that sounds bad.
On 1/21/2011 7:17 PM, Burlik Volodimir (Nokia-MS/Vancouver) wrote:
> Hi
> I'm running QML application that creates a button with the text. Text's
> font is specified like this :
> font: {
> …
> weight: "Font.Bold"
> }
> During instantiation it crashes in QFont::setWeight(int weight) b/c
> weight is -1? What do I miss, why Font.Bold couldnt be found?
> I'm using 4.7.1.
On which platform does that happen, and with which font? Also can you try
weight: Font.Bold
(without quotation marks), if that still happens?
Thanks,
Alessandro
More information about the Qt-interest-old
mailing list