Embedding Vulkan in Qt application on Linux

It seems that Vulkan currently works out of the box only on Windows when you use QWidget::createWindowContainer to embed it in a Qt application. Even creating a simple window does not require that much work. However, on Linux it seems that you need to perform XSync and then wait for exposure events to be able to even draw to a simple window without crashing. This setup seems to mess up with Qt and Vulkan doesn’t work. Some command buffers don’t get processed and waiting on fences basically freezes the application, while others don’t execute draw command. Is there any best practices example for embedding Vulkan on Linux in GUI applications that work? I can do a repro case if any developer is willing to look at it and point out what is wrong.