PDA

View Full Version : Runtime error



franco.amato
9th February 2011, 16:49
Hi to all,
when executing my application I get the console error:


libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

Is there a way to suppress it? I googled it without success.
Regards

FelixB
9th February 2011, 17:06
are you sure that your code does not contain errors?

franco.amato
9th February 2011, 17:07
are you sure that your code does not contain errors?

The code compiles without problems, I have no errors and no warnings

FelixB
9th February 2011, 17:28
The code compiles without problems, I have no errors and no warnings

you can have logical errors in your code... the compiler can check the syntax only.

I guess, you don't use this library correctly...

franco.amato
9th February 2011, 18:26
you can have logical errors in your code... the compiler can check the syntax only.

I guess, you don't use this library correctly...

I don't use that library. I only have png images to set some icons to the menu bar.
like this:

m_form.mainToolBar->addAction(m_form.action_Quit);

ladiesfinger
9th February 2011, 18:48
While adding icons to actions , be sure to set icon size . setIconSize(QSize) (http://doc.qt.nokia.com/latest/qabstractitemview.html#iconSize-prop)
Try this

franco.amato
9th February 2011, 19:02
While adding icons to actions , be sure to set icon size . setIconSize(QSize) (http://doc.qt.nokia.com/latest/qabstractitemview.html#iconSize-prop)
Try this

Already did to 64x64 with no changes

SixDegrees
9th February 2011, 20:06
Hi to all,
when executing my application I get the console error:



Is there a way to suppress it? I googled it without success.
Regards

Then you need to try harder; sometimes, you have to actually read search results:

http://www.google.com/#q=libpng+warning:+Ignoring+attempt+to+set+cHRM+RG B+triangle+with+zero+area&hl=en&prmd=ivns&ei=YeVSTYe1DYP_8AahzvzRCQ&start=10&sa=N&fp=d46d7fcb6d497136

ladiesfinger
9th February 2011, 20:38
Then you need to try harder; sometimes, you have to actually read search results:

http://www.google.com/#q=libpng+warning:+Ignoring+attempt+to+set+cHRM+RG B+triangle+with+zero+area&hl=en&prmd=ivns&ei=YeVSTYe1DYP_8AahzvzRCQ&start=10&sa=N&fp=d46d7fcb6d497136

sixdegrees is correct ....
I found a similiar question in many threads just by searching..

well , go through these threads and find out ....( with patience )

Teamxlink (http://www.teamxlink.co.uk/forum/viewtopic.php?p=212580&sid=796dd7182e61053a5979999372c7d3ff)

Gimp Docs (http://www.gimpusers.com/forums/gimp-docs/11807-buildiing-pdf-from-git)

Gimp mailing Lists (http://lists.xcf.berkeley.edu/lists/gimp-docs/2010-November/002322.html)