Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Unable to run any QML app (QGLXContext issue)
QtWS25 Last Chance

Unable to run any QML app (QGLXContext issue)

Scheduled Pinned Locked Moved Solved Installation and Deployment
qglxcontextlinuxopenglqmlnvidia
2 Posts 1 Posters 4.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tansgumusT Offline
    tansgumusT Offline
    tansgumus
    wrote on last edited by tansgumus
    #1

    Hi,

    Whenever I tried to run any QML based app (from Qt Create or outside it) I get this error message although all C++ widget based apps work fine!

    How can I fix this issue?

    Starting /home/tansu/Desktop/build-untitled-Desktop_Qt_5_10_0_GCC_64bit-Debug/untitled...
    QML debugging is enabled. Only use this in a safe environment.
    QGLXContext: Failed to create dummy context
    Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
    The program has unexpectedly finished.
    The process was ended forcefully.
    /home/tansu/Desktop/build-untitled-Desktop_Qt_5_10_0_GCC_64bit-Debug/untitled crashed.
    

    I use Linux Mint 18.3 and Qt 5.10.0

    1 Reply Last reply
    0
    • tansgumusT Offline
      tansgumusT Offline
      tansgumus
      wrote on last edited by
      #2

      I fixed this issue by my nvidia driver to recent version from this PPA

      ppa:graphics-drivers/ppa
      
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved