Если при попытке попытке запустить пример Qt из пакета qtdeclarative5-examples появляется только чёрный экран, сопровождающийся выводом на консоль ошибок вида.
libGL error: pci id for fd 11: 80ee:beef, driver (null) libGL error: No driver found libGL error: failed to load driver: (null) QOpenGLContext::makeCurrent() called with non-opengl surface 0x5e2e9f084100 composeAndFlush: makeCurrent() failed QOpenGLContext::makeCurrent() called with non-opengl surface 0x5e2e9f084100 composeAndFlush: makeCurrent() failed QOpenGLContext::makeCurrent() called with non-opengl surface 0x5e2e9f084100 composeAndFlush: makeCurrent() failed
То для устранения проблемы:
Вариант 1: Сразу после создания объекта QApplication добавить