Important: Please read the Qt Code of Conduct -

Qt: Xlib: extension "NV-GLX" missing on display ":0"

  • Hi; I use Material Design on my apps (QtQuickControls 2 apps). My basic code is here:

    import QtQuick 2.7
    import QtQuick.Controls 2.0
    import QtQuick.Layouts 1.0
    import QtQuick.Controls.Material 2.0
    ApplicationWindow {
      visible: true
      width: 640
      height: 480
      title: qsTr("QtQuickControls2 Test")
      Material.theme: Material.Dark
      Material.accent: Material.Purple
      Column {
        anchors.centerIn: parent
        RadioButton { text: qsTr("Radio Button 1") }
        RadioButton { text: qsTr("Radio Button 2") }
        RadioButton { text: qsTr("Radio Button 3") }

    But when I ran my material design app on desktop and Android (Genymotion), I see my app style is Qt Default style. I get this error on the desktop app: Xlib: extension "NV-GLX" missing on display ":0".
    I use Ubuntu 16.04 x64 and Nvidia driver. When I selected Xlib (open source) driver, Genymotion isn't running this time too.
    How can I use material design? What is this error? Thanks.

  • Lifetime Qt Champion

    Hi , have you tested your opengl on the desktop is happy? ( with glxgears or something like that)
    Googling this error suggest its a driver issue
    (last post)

Log in to reply