Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2010-02-13 Thread Jean-Sébastien Guay
Hi Fausto, Sorry to bother again. I've got some improvement and in fact the problem was in the trails setup. But it's not perfect yet, and I was wondering if you could send your QOSGWidget code, at least the part concerning the context creation, just to see if there are other settings that I

Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2010-02-12 Thread Jean-Sébastien Guay
Hi Fausto, I've read your post regarding this problem, and I was wondering if you found the solution because I have the same problem when I try to embed osg into a Qt application. It works fine in simple tests, but when a more complex Qt windowing is concerned I receive the same error as

[osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-23 Thread mgb
I hit the same problem, setting traits-setInheritedWindowPixelFormat to true to force it to call GraphicsWindowWin32::SetPixelformat()displays the file correctly But I get a window with no toolbars, not sure if this is related Martin ___ osg-users

Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-23 Thread Jean-Sébastien Guay
Hi Martin, But I get a window with no toolbars, not sure if this is related Does the osgviewerQT add any toolbars? I didn't see anything either, but looking at the code I don't see it adding anything to the window other than the 3D display widget. J-S --

Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-23 Thread mgb
Does the osgviewerQT add any toolbars? No it doesn't - I assumed because the adaptor widget did! I will create a fuller QT sample, in line with the MFC sample, showing a toolbar and buttons etc. Martin mgb mgbeckett com ___ osg-users mailing list

Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-23 Thread Jean-Sébastien Guay
Hello Martin, I will create a fuller QT sample, in line with the MFC sample, showing a toolbar and buttons etc. That would be nice, though a case could be made from the point of view that an OSG example should not show how to program QT, just how to integrate the two... So if you do decide

Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-09 Thread Robert Osfield
Hi J-S, I'm no QT or Windows expert so I'll just have to guess at what might be up. The pixel format error sounds a bit like what was an issue in the early days of osgviewerMFC - in that the pixel format of the underlying window has to be created specifically to support the pixel format that the

Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-09 Thread Jean-Sébastien Guay
Hi Robert, I'm no QT or Windows expert so I'll just have to guess at what might be up. The pixel format error sounds a bit like what was an issue in the early days of osgviewerMFC - in that the pixel format of the underlying window has to be created specifically to support the pixel format

[osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-08 Thread Jean-Sébastien Guay
Hi all, We'll probably be using Qt for our next GUI project with OSG, and so I started looking into the osgviewerQT example. First of all, it seems to me that the most powerful way to use it is using QOSGWidget (as a base) instead of AdapterWidget, since the latter uses

Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-08 Thread Jeremy Moles
On Mon, 2008-09-08 at 14:43 -0400, Jean-Sébastien Guay wrote: Hi all, We'll probably be using Qt for our next GUI project with OSG, and so I started looking into the osgviewerQT example. Qt as the application's encompassing GUI or are you going to use Qt somehow to also create GUI widgets

Re: [osg-users] osgviewerQT --QOSGWidget cannot create context?

2008-09-08 Thread Jean-Sébastien Guay
Hi Jeremy, Qt as the application's encompassing GUI or are you going to use Qt somehow to also create GUI widgets in your GL scene? I've seen a lot of traffic about this lately and have begun to wonder if I'm misunderstanding. :) Yeah, in my case I'll have a widget in my app that does OSG,