I’m developing application for QNX which uses for ui OpenGL ES with OpenKODE. OpenKODE was the only windowing system that I was able to find for this QNX (Harman device).
The application shows the UI rendered with OpenGL ES, but the problem is that my event loop doesn’t receive any event type different from KD_EVENT_WINDOWPROPERTY_CHANGE with pname member always zero.
This is the code for my event loop.
const KDEvent* evt = kdWaitEvent(0);
std::cout << "NEW EVENT " << evt->type << std::endl;
std::cout << "NEW EVENT KD_EVENT_WINDOWPROPERTY_CHANGE. pname " << evt->data.windowproperty.pname << std::endl;
KDint32 param = -1;
KDint res = kdGetWindowPropertyiv(m_pWindow, evt->data.windowproperty.pname, ¶m);
std::cout << "res " << res << ". param " << param << ". err " << kdGetError() << std::endl;
and this is the code related to creation of my KD window and it seems to works correctly
m_pWindow = kdCreateWindow(m_eglDisplay, config, KD_NULL);
if(kdRealizeWindow(m_pWindow, &wnd) != 0)
Any ideas are appreciated. Thanks in advance.