View Single Post
Old 01-11-2021, 11:58 AM   #64
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
qcssparser and final version of cssparser_v2.1

Okay, I finished porting cssparser v2.1 to use Qt.

See the attached: qcssparser.zip

To build it requires Qt: On my machine you would do the following:
export PATH=${PATH}:/Users/kbhend/Qt5129/bin
unzip qcssparser.zip
cd qcssparser
qmake
make

It has a similar main.cpp as cssparser2 to allow you to see the parser output and the serialized result.

This means I have probably finished with updating cssparser anymore as Sigil would need a parser that understands Qt strings and containers with their built in support for unicode.

All future work will focus on qcssparser and trying to incorporate it into Sigil itself if we decide to go that way in the end.

For the record, I have attached to this issue cssparser_v2.1.zip and qcssparser.zip for anyone who might want to play around with either.

Last edited by KevinH; 01-12-2021 at 12:46 PM. Reason: Remove now outdated versions - see later posts for updated zip archives
KevinH is offline   Reply With Quote