[Qt-interest] Fonts in Qml
Volodimir.Burlik at nokia.com
Volodimir.Burlik at nokia.com
Fri Jan 21 20:09:17 CET 2011
Hi,
Crash goes away without quatation marks meaning that setWeight gets valid value-ish?, but button is not shown :(, so there is still something wrong. I'm running on MeeGo 1.1, but with isolated Qt-4.7.1 environment in qt-creator.
Thanks
Vlad
-----Original Message-----
From: qt-interest-bounces+volodimir.burlik=nokia.com at qt.nokia.com [mailto:qt-interest-bounces+volodimir.burlik=nokia.com at qt.nokia.com] On Behalf Of ext Alessandro Portale
Sent: Friday, January 21, 2011 10:22 AM
To: qt-interest at qt.nokia.com
Subject: Re: [Qt-interest] Fonts in Qml
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
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list