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.


  • Qt Champions 2016

    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
    https://ubuntuforums.org/archive/index.php/t-1822396.html
    (last post)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.