Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Could not initialize GLX

    QML and Qt Quick
    1
    2
    4470
    Loading More Posts
    • 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.
    • D
      dvosp last edited by

      I've managed to build QT 5.0.2 for an Atmel AT91SAM9G35 (ARM9) board. The CPU has a LCD controller, but no HW acceleration. The board has a running X and I've installed mesa and xcb. I can run widget apps with the xcb platform successfully, but QtQuick apps won't run, it terminates with "Could not initialize GLX" after flashing a title bar briefly on the LCD.

      I have configured with:

      ./configure -v -opensource -confirm-license -xplatform linux-arm-gnueabi-g++ -no-accessibility
      -no-cups -no-nis -no-pch -no-iconv -reduce-relocations -no-qpa-platform-guard
      -no-kms -no-qml-debug -nomake qtwebkit
      -system-sqlite -qt-sql-sqlite -plugin-sql-sqlite
      -nomake examples -nomake qtmultimedia -nomake tests
      -opengl -qt-xcb
      -prefix /opt/Qt-5.0.2
      -hostprefix /opt/Qt-5.0.2

      Am I missing something?

      1 Reply Last reply Reply Quote 0
      • D
        dvosp last edited by

        I'm still not further, but I have verified that I can run the mesa demos, e.g. glxgears, although very slow.

        This means opengl is working correctly, right? Does nobody have an idea why the QtQuick app won't run?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post