<DIV>Hi,</DIV>
<DIV>Sorry, I didn't subscribe to the ml, I didn't find a link to do it from the project page.</DIV>
<DIV>Yes, the problem you describe is what I found. This behaviour (widgets become dark/black, whole screen becomes corrupted...) is typically due to a GDI leak. I ran this tool:</DIV>
<DIV><A href="http://msdn.microsoft.com/msdnmag/issues/03/01/GDILeaks/">http://msdn.microsoft.com/msdnmag/issues/03/01/GDILeaks/</A></DIV>
<DIV>and it appeared that it was a GDI pen leak (hundreds of pens no freed). So I looked for CreatePen and quickly found the guilty. Now it works fine (after removing this 2 lines).</DIV>
<DIV>There is another problem with erasing. I didn't find why it causes flickering. There are other problems too (mouse moves cause flickering too, etc...). I can't spend much time, for now, but later I will try to help you. I use Visual C++ 2003 and I was unable to create VC++ project files with qmake &amp; .pro files. It is annoying because without the debuger &amp; source code navigation I am lost :-) Is there a trick ?</DIV>
<DIV>What is the position of Trolltech about this port ? Can we use it without worry ?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Thanks for this. Can you explain exactly what problems you were seeing with<BR>&nbsp;&nbsp;&nbsp; painting?<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; There is a long-standing problem with example programs such as scrollview<BR>&nbsp;&nbsp;&nbsp; (resize the window few time to see what I mean) where painting in the window<BR>&nbsp;&nbsp;&nbsp; and even the whole screen becomes corrupted. I think I've narrowed this down<BR>&nbsp;&nbsp;&nbsp; to the window hierachy but maybe you have some ideas that could help?<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Chris</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Hi,<BR>&nbsp;&nbsp;&nbsp; This is my first post to this ml so excuse me if I am doing something wrong<BR>&nbsp;&nbsp;&nbsp; :-)<BR>&nbsp;&nbsp;&nbsp; I downloaded and tried qt-3 QT_WIN32_3_3_BRANCH. It quickly appeared that<BR>&nbsp;&nbsp;&nbsp; there was a problem with painting. I ran GDI leaks detection tools and found<BR>&nbsp;&nbsp;&nbsp; a problem with pens. The problem is in kernel/qpainter_win.cpp, line 2887:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HPEN pen = CreatePen (PS_SOLID, 1, RGB (0, 0, 0));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SelectObject (hdc, hpen);<BR>&nbsp;&nbsp;&nbsp; note the use of pen with CreatePen and hpen with SelectObject. I simply<BR>&nbsp;&nbsp;&nbsp; removed this 2 lines, and it works better now.<BR>&nbsp;&nbsp;&nbsp; I hope this helps.<BR></DIV><BR><BR><DIV>
<DIV>
<DIV>Aurelien REGAT-BARREL <BR></DIV></DIV></DIV><p>
                <hr size=1> 
Découvrez le nouveau Yahoo! Mail : <font color="red">250 Mo d'espace</font> de stockage pour vos mails !<br><a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=25917/*http://fr.rd.yahoo.com/mail_fr/mail_campaigns/splash/taglines_250/default/*http://fr.promotions.yahoo.com/mail/creer28.html">Créez votre Yahoo! Mail</a><br><br> 
 
Avec Yahoo! faites un don et soutenez le <a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/mail_fr/events/telethon2004/*http://www.telethon.fr/030-Don/10-10_Don.asp">Téléthon !</a>