[Qt-interest] Funny Bug in Qt Designer with Graphicssystem OpenGL

Thiago Macieira thiago at kde.org
Sat Jan 15 15:17:20 CET 2011


On Saturday, 15 de January de 2011 02:26:30 Philipp Berger wrote:
> Hi folks,
> 
> I was working on a project and started the Qt Designer from Visual
> Studio 2010 - and the complete display was reversed, a screenshot is
> attached. It looks very cool :)

OpenGL coordinates start from the bottom left, instead of the usual top-left 
screen coordinates. So we usually must multiply the Y axis by -1.

The problem is that if you multiply one too many times or one too few, 
everything is reversed, like you saw. It's possible that something inside 
Visual Studio is interfering.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110115/3e22b691/attachment.bin 


More information about the Qt-interest-old mailing list