I am using css with Qt, I have a css as follow:
QSlider::sub-page:horizontal
{
background: qlineargradient(x1:1, y1:0, x2:0, y2:0, stop: 0 COLOR8, stop: 1 COLOR6);
margin-top: 5px;
margin-bottom: 5px;
}
COLOR8 and COLOR6 are defined already.
The parser has errors as follow:
Compiler parsing error: Parse error in ShivaQt.gss at line 150 column 35:
background: qlineargradient(x1:1, y1:0, x2:0, y2:0, stop: 0 COLOR8, stop: 1 COLOR6);
^
com.google.common.css.compiler.ast.GssParserException: Parse error in
ShivaQt.gss at line 150 column 35:
background: qlineargradient(x1:1, y1:0, x2:0, y2:0, stop: 0 COLOR8, stop: 1 COLOR6);
I used option " --allow-unrecognized-functions" but not works. I only want the
closure-stylesheets pars "COLOR8" and "COLOR6" for me, the version I use is
closure-stylesheets-20111230.jar.
Is there any other way I can avoid this issue or it is a limitation currently
for such function "qlineargradient" from Qt?
Original issue reported on code.google.com by machanga...@gmail.com on 5 Apr 2012 at 8:02
Original issue reported on code.google.com by
machanga...@gmail.com
on 5 Apr 2012 at 8:02