[PySide] QFont::setPixelSize: Pixel size <= 0 (0)

Florian Bruhin me at the-compiler.org
Tue Nov 18 12:10:57 CET 2014


* Jorge Araya Navarro <elcorreo at deshackra.com> [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 | me at the-compiler.org (Mail/XMPP)
             GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20141118/7161b7d2/attachment.sig>


More information about the PySide mailing list