Hi Koni,
On Tue, 2005-01-25 at 11:23, Kornelia Ganglbauer wrote:
> Hallo!
>
> I use QT and OpenSG together. My application consists of a QMainWindow with
> a OSGQGLManagedWidget as CentralWidget. The reaction on the mouse events
> work correctly, but I do not get any reaction on pressing a key. When I set
> a breakpoint on:
> void OSGQGLManagedWidget::keyPressEvent(QKeyEvent *OSG_CHECK_ARG(ke)) {
>
> FDEBUG(("OSGQGLManagedWidget::keyPressEvent()\n"));
> }
>
>
>
> the programm never stops there. I do not know what is wrong. Why the
> keyboard events are ignored?
I just tried it on Linux, and it seems to work fine for me. Can you try
setting the OSG_LOG_LEVEL environment variable to "debug" and run your
program again? It will print out a lot of junk, but once it's running it
should print a message for every key press. If that works it's a
debugger problem, if not we'll have to dig deeper.
Hope it helps
Dirk
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users