PDA

View Full Version : 'XEvent' has not been declared



dacla
28th March 2008, 09:54
I am trying to use the QX11EmbedContainer and QX11EmbedWidget classes but I get always the following error:


/include/QtGui/qx11embed_x11.h:57: error: 'XEvent' has not been declared
/include/QtGui/qx11embed_x11.h:95: error: 'XEvent' has not been declared

The installation of qtopia was successful but this error refers to the header files provided by Trolltech.

Has anyone faced the same problem or knows how to solve it?

jpn
31st March 2008, 07:45
Wait, you are using Qtopia without X11 and XEmbed for X11...?

dacla
31st March 2008, 09:36
Wait, you are using Qtopia without X11 and XEmbed for X11...?

Sorry but I don't understand your question. What I am trying to do is a widget that can contain (embed) other applications that run under X11. But if I declare a QX11EmbedContainer or a QX11EmbedWidget widget the output I get when I try to compile my program is that 'XEvent' has not been declared.

Could you explain what did you meant with that question, please?

jpn
31st March 2008, 13:44
I was just wondering if XEmbed stuff is really available on Qtopia core which doesn't depend on X11.