genivi-ivi-layer-management@lists.genivi.org

development mailing list for GENIVI LayerManagement

View all threads

After upgrade to Qt5.9, can't get ilm_surfaceAddNotification

Z
zhangyang
Tue, Dec 4, 2018 1:38 AM

Hi team:
I've got a problem. we use ivi-extension to manage all the system's applications. Last week we upgrade our  Qt from 5.7 to 5.9, but found that we can't get ilm_surfaceAddNotification. Only got ilm_registerNotification but the surface origSourceWidth or origSourceHeight is 0, so that qt5.9 applications would not be visible. After we checked Qt source code(ivi-shell plugin), we found that if we comment this line in QtSrc\qtwayland\src\plugins\shellintegration\ivi-shell\qwaylandivisurface.cpp :
void QWaylandIviSurface::ivi_controller_surface_visibility(int32_t visibility)
{
//this->m_window->window()->setVisible(visibility != 0);
}
This problem will be fixed. Actually qt5.7 does not have this ivi surface visibility function so all the things are OK. I think this is a walk around solution, could you please help to resolve this? thank you.
PS: ivi-extension version:1.9.1      weston version:1.9.0

Hi team: I've got a problem. we use ivi-extension to manage all the system's applications. Last week we upgrade our Qt from 5.7 to 5.9, but found that we can't get ilm_surfaceAddNotification. Only got ilm_registerNotification but the surface origSourceWidth or origSourceHeight is 0, so that qt5.9 applications would not be visible. After we checked Qt source code(ivi-shell plugin), we found that if we comment this line in QtSrc\qtwayland\src\plugins\shellintegration\ivi-shell\qwaylandivisurface.cpp : void QWaylandIviSurface::ivi_controller_surface_visibility(int32_t visibility) { //this->m_window->window()->setVisible(visibility != 0); } This problem will be fixed. Actually qt5.7 does not have this ivi surface visibility function so all the things are OK. I think this is a walk around solution, could you please help to resolve this? thank you. PS: ivi-extension version:1.9.1 weston version:1.9.0