Re: [osg-users] Improvement of QT and OSG compatibility

2009-08-28 Thread Alex Sierra
What about using osg widgets instead? -- A. Sent from my iPhone On Aug 28, 2009, at 6:01 AM, Maxim Gammer maxgam...@gmail.com wrote: Hello, I've got a proposal to make changes in OSG for better compatibility with QT. Method's name emit needs to be replaced in namespace osgParticle. The

Re: [osg-users] Improvement of QT and OSG compatibility

2009-08-28 Thread Maxim Gammer
Which one is better ? Adapter Widget + QT is more universal 2009/8/28 Sajjad dosto.wa...@gmail.com Hello Which one is better ? Adapter Widget or OSG Widget ? Sajjad On Fri, Aug 28, 2009 at 1:39 PM, Alex Sierra algsie...@gmail.com wrote: What about using osg widgets instead? -- A.

Re: [osg-users] Improvement of QT and OSG compatibility

2009-08-28 Thread Jolley, Thomas P
Hi Maxim, What was the result of adding -DQT_NO_EMIT to the compilation flags that Antonin Linares suggested? http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg27183. html Tom Jolley From: Maxim Gammer

Re: [osg-users] Improvement of QT and OSG compatibility

2009-08-28 Thread Maxim Gammer
Hi Tom, this solution won't let us use signal/slot stuff ( 2009/8/28 Jolley, Thomas P thomas.p.jol...@boeing.com Hi Maxim, What was the result of adding -DQT_NO_EMIT to the compilation flags that Antonin Linares suggested?

Re: [osg-users] Improvement of QT and OSG compatibility

2009-08-28 Thread D.J. Caldwell
Hi, Maxim, Qt can be built and used with a no_keywords flag so that Qt does not redefine the names emit, signal, or slot. One uses Q_EMIT, Q_SIGNAL, and Q_SLOT instead. The no_keywords flag exists so that Qt doesn't cause interference with 3rd party signal/slot mechanisms, but I think it

Re: [osg-users] Improvement of QT and OSG compatibility

2009-08-28 Thread D.J. Caldwell
Hi, everyone. I'm sorry, no_keywords may be more than some people bargin for. What I mentioned is true, but there are other side effects. Specifically, Qt may redefine foreach and forever unless no_keywords is used (they provide Q_FOREACH and Q_FOREVER as alternatives). I'm not trying to

Re: [osg-users] Improvement of QT and OSG compatibility

2009-08-28 Thread Maxim Gammer
thanks! config += no_keywords all works fine! 2009/8/29 D.J. Caldwell dlcaldwel...@gmail.com Hi, everyone. I'm sorry, no_keywords may be more than some people bargin for. What I mentioned is true, but there are other side effects. Specifically, Qt may redefine foreach and forever