PDA

View Full Version : [4.7] QWebView + Qt aware HTML



bunjee
25th October 2010, 10:49
Dear Trolls,

I'm using an HTML website altogether with a QWebView. It's working pretty well so far but I have a special request.

In my HTML / CSS At some point I need to know whether I'm using the Qt Webview or another browser.

Can I hope to use a conditionnal expression like this :


<!--[if myQtWebView]><style>body { padding:4px; }</style><![endif]-->
Thanks.