Hello Fabrizio,

Fabrizio Milo aka misto wrote:
> I am playing around with Qt4 and OpenSG
> 
> basically I am following the Tutorial but using the Qt4 GLWidget
> 
> Seems that the OpenSG Qt4 native on MacOs is not enabled (why?),

I think Gerrit disabled it recently because it would not compile.
On as side note: on linux there is also something weird happening, 
during the week I tried and could not even get a trivial example (just 
an app, mainwindow and a button) to run, it crashed in the QApplication 
constructor) when compiled as part of the OpenSG build. I'm going to 
look into this some more over the weekend, but I don't have access to a 
OS X system, so I'm not sure what the build there problem was.

> So I am trying to experiment following the testPassiveQt4 example in
> OSG QT4 directory
> 
> Everything works fine, but when I close the application I get this error:
> 
> LOG: GL Vendor/Renderer: NVIDIA Corporation/NVIDIA GeForce 9400M OpenGL Engine
> WARNING: FieldContainerFactoryBase::terminate: Entry [248] is not NULL
> ([0x50e06f0]).
> WARNING:   [0] [0x50e1860] [TextureEnvChunk] [1 0]

these are indeed only warnings, they indicate that there are OpenSG 
objects alive when osgExit() runs (it is registered as an atexit handler 
by osgInit(), so it also runs if the application does not call it 
explicitly).
You can get rid of the warnings by making sure that you destroy all 
OpenSG objects before calling osgExit(). You could also just ignore 
them, but if you run your program with some memory leak detector (e.g. 
valgrind/memcheck) it will probably complain about the same objects.

        Cheers,
                Carsten


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to