[Interest] CSS with QML

Mark markg85 at gmail.com
Wed Apr 10 22:26:22 CEST 2013


On Wed, Apr 10, 2013 at 6:43 PM, Alan Alpert <416365416c at gmail.com> wrote:
> On Wed, Apr 10, 2013 at 6:10 AM, Sergey <sh0375 at gmail.com> wrote:
>> Hi,
>>
>> Is it possible to add CSS file to QML in QT?
>
> No. You'll have to style using QML features (for example, defining a
> MyText{} with the properties set how you want and using that instead
> of Text{})

Alan, just a question out of curiosity. QML uses WebKit, right? If
that's the case then adding CSS support "should" (obviously very much
in theory) be possible?

Though it will probably require a massive load of work.

Note: i like the current way of styling and don't need or want css,
but sometimes i do find myself thinking "it would be easier in css" ;)



More information about the Interest mailing list