[Qt-interest] How to design a "search and download" application in Qt with multiple threads in mind.

Andre Somers andre at familiesomers.nl
Mon Sep 13 22:19:08 CEST 2010


  Op 13-9-2010 19:28, Sven Grunewaldt schreef:
> Thank you both for your responses!
>
> To Andre:
> Yeah, I think you're right. I just thought about this whole thing way
> too complicated. Your QtWebkit idea is actually quite nice and I will
> keep it in mind, though I think it would be easier to maintain if I just
> use some regex. I took some time and thought about the whole application
> again... please see below.
I think you're wrong about that. Images can occur in webpages in many 
ways, including via backgrounds, stylesheets, java script, etc. Do you 
really want to parse all of that with a couple of regexs, and think you 
end up with a maintainable system? Qt comes with a perfectly fine HTML 
parser, *I* would just use that one...

André




More information about the Qt-interest-old mailing list