Hi,
I stucked in this problem for several days...

I have a xlib implementation to show image on linux, we decided to use Qt
toolkit to add widgets like menu bar, scroll bar ect.
I've already created a Qt Gui window (qmainwindow, so I can add menu bar) ,
and our image can be displayed in this window. (I get the winId of the Qt
window, and use it in xlib  implementation), the problem is our operation
control like move, key control, expose event can't be handled.

when I use a.exec(), the Qt gui window shows with the image and menubar but
doesn't have operation control.
If I don't have a.exec(), the image still shows in qt gui window, operation
control works but doesn't have menu bar.

I didn't wrap my xlib code into QWidget, should I do that? and why?

Is there anyone can give me any idea?

Thanks.



Reply via email to