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()
sorry, does not ring a bell.
> Concerning the cmake build system I have another question - How do plan
> to set project (OSGWindowQT4) specific parameter? I manually added them
> to the project on building the libs ocnfig (see BuildFunctions.cmake).
> The problem here is they are missing on the test projects (at least in
> Visual Studio).
do you mean the OSG_WITH_QT4 define? The OSG_WITH_* things end up in
OSGConfigured.h (included from OSGConfig.h) so there is no need to pass
them on the command line. I think some of the sources need a small
adjustment, so that they first include OSGConfig.h and then do the
#ifdef OSG_WITH_QT4 check.
Also, if possible it would be nice if we could handle the input to
uic/moc in a similar way to the .fcd files, i.e. store them in lists
during the collect pass and then process them.
Cheers,
Carsten
------------------------------------------------------------------------------
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