Hello All,

I'm using qt-webkit to make http/https request and process the html response of it. I want to parse the style sheets present in the HTML response to get the specific elements of style sheets.
e.g. I have following web page received after HTTP request:

Qt Code:
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <style>
  5. body {
  6. background-image: url("http://www.w3schools.com/css/border.png"), url("img_flwr.gif");
  7. background-color: #cccccc;
  8.  
  9. }
  10. div {
  11. cursor: url(http://i.imgur.com/jto5jnA.gif), auto;
  12. }
  13. </style>
  14. </head>
  15. <body>
  16. <div>
  17. this is text
  18. </div>
  19. </body>
  20. </html>
To copy to clipboard, switch view to plain text mode 


Now from above HTML response, I want to parse the style sheet and the get the "URL" used. e.g. URL used for "background-image" or "cursor".
Any pointer on how to get these URLs used in style-sheet?