Hi,
Carsten Neumann schrieb:
> Hello Christoph,
>
> Christoph Schäfer wrote:
>
>> attached is a patch with the current port status. I've only tested it on
>> Windows this far.
>>
>> - OSGWindowQT4 ported:
>> - OSGQGLWidget
>> - OSGQTWindow
>> - OSGQTWindowBase
>> - testPassiveQT4 runs OK.
>> - testWindowQT4 compiles OK but crashes on runtime. This is surely no
>> big issue but I can't pin it down. Ideas? Callstack is:
>>
>> OSGWindowQT4_d.dll!OSG::SField<OSG::OSGQGLWidget
>> *,0>::setValue(OSG::OSGQGLWidget * const value=0x04b5be38) Zeile 97 +
>> 0x6 Bytes C++
>> OSGWindowQT4_d.dll!OSG::QTWindowBase::setGlWidget(OSG::OSGQGLWidget
>> * const & value=0x04b5be38) Zeile 124 C++
>> testWindowQT4_qt.exe!main(int argc=1, char * * argv=0x03f54798)
>> Zeile 351 + 0x2e Bytes C++
>> testWindowQT4_qt.exe!__tmainCRTStartup() Zeile 597 + 0x19 Bytes C
>> testWindowQT4_qt.exe!mainCRTStartup() Zeile 414 C
>> kernel32.dll!7732e3f3() [Unten angegebene Rahmen sind
>> möglicherweise nicht korrekt und/oder fehlen, keine Symbole geladen für
>> kernel32.dll] ntdll.dll!777ccfed() ntdll.dll!777cd1ff()
>>
I recently had some time to sneak in this problem and it turned out the
QTWindow::create() method fails to pas the if statement - Any hints what
may go wrong? I compared to the GLUTWindow class but couldn't figure out
something significant...
inline QTWindowTransitPtr QTWindowBase::create(void)
{
QTWindowTransitPtr fc;
if(getClassType().getPrototype() != NULL) // fails this test....
{
FieldContainerTransitPtr tmpPtr =
getClassType().getPrototype()-> shallowCopy();
fc = dynamic_pointer_cast<QTWindow>(tmpPtr);
}
return fc;
}
Cheers,
Christoph
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core