[Qt-interest] QLatin1String for QWebView's url in QtDesigner?

NoRulez norulez at me.com
Tue May 24 22:04:01 CEST 2011


Hi,

 

I’ve made an ui which has also an QWebView included and I compile it with
QT_NO_CAST_FROM_ASCII and QT_NO_CAST_TO_ASCII.

The result is a compiler error, since QWebView’s standard url is
“about:blank”. Is there a way to say QWebView to use an QLatin1String
instead?

I didn’t figure out how to set them within the QtDesigner (QtCreator
integrated)

 

If I try to set the url to “QLatin1String(“about:blank”)” then the change is
reseted.

 

Thanks in advance

 

Best Regards

NoRulez

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110524/3e170631/attachment.html 


More information about the Qt-interest-old mailing list