In the simpleplot example in QwtPlot3D an OpenGL Context is instantiated
during initialisation. When using debug builds In 4.5.x this presented
no problems but in 4.6.0-beta1, rc1 & release this causes a heap error
as follows:
When calling ~QGLTempContext() in qgl_win.cpp line 672:
DestroyWindow(dmy_id);
This appears to free an unused window id in ~QGLTempContext().
I'm building with visual studio 2005 SP1 on Windows XP with SP3.
I've installed the 4.6.0-vs2008 (Release) but couldn't build the project
in debug as I got:
qtmaind.lib(qtmain_win.obj) : fatal error LNK1103: debugging information
corrupt; recompile module
I'm not sure whether there are any known incompatibility problems
between vs2005 & vs2008 debug info but I've rebuilt Qt in vs2005. The
examples then build correctly but the above issue occurs in all
examples.
In QwtPlot3D Mesh2 example the heap error first occurs at:
LeaveCriticalSection( _locktable[locknum].lock ); line 375 in
Visual Studio 8/VC/crt/src/mlock.c
Instead.
Is anyone else getting OpenGL problems I get errors with some of the Qt
examples!
1. grabber.exe & hellogl.exe give me the same thread access violation on
startup in:
QtCored4.dll!QThreadData::current() Line 100 + 0xc bytes
And pbuffers the same error on shutdown.
Can anyone suggest what could be the cause?
Regards
David Robinsion
Please refer to www.anite.com for individual Anite company details. The
contents of this e-mail and any attachments are for the intended recipient
only. If you are not the intended recipient, you are not authorised to and must
not disclose, copy, distribute, or retain this message or any part of it. It
may contain information which is confidential and/or covered by legal
professional or other privilege. Contracts cannot be concluded with us nor
legal service effected by email.
Anite plc
Registered in England No.1798114
Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom
VAT Registration No. GB 787 418187
Scanned for viruses by Mimecast._______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback