* Jorge Araya Navarro <[email protected]> [2014-11-17 16:09:33 -0600]:
> Hello!
> 
> I have notice this message from Qt `QFont::setPixelSize: Pixel size <= 0 (0)` 
> appearing while my application
> runs. I'm using QtWebKit in my project.

Hah, I just noticed the same yesterday as well when trying some Qt4
browser. It seems it's gone in Qt5. Probably it's fixed by [1].

[1] https://bugs.webkit.org/show_bug.cgi?id=49759

> Is there a way to suppress it?

You could use qInstallMsgHandler[2] to install a message handler and
then filter this message, e.g. using regex.

[2] http://qt-project.org/doc/qt-4.8/qtglobal.html#qInstallMsgHandler

Florian

-- 
http://www.the-compiler.org | [email protected] (Mail/XMPP)
             GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

Attachment: pgpYb8pZ2h0YT.pgp
Description: PGP signature

_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to