Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. opengl test failed when configure qt as source
QtWS25 Last Chance

opengl test failed when configure qt as source

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 5 Posters 8.1k 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.
  • W Offline
    W Offline
    wegatron
    wrote on last edited by aha_1980
    #1

    Re: [I built Qt Everywhere for beaglebone black (OS Debian) but fail](somebody used to built it success can help me?)
    I meet the same problem when i try to build qt on alpine.

     OpenGL:
        EGL .................................. no
        Desktop OpenGL ....................... no
        OpenGL ES 2.0 ........................ no
        OpenGL ES 3.0 ........................ no
        OpenGL ES 3.1 ........................ no
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. no
      libinput ............................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon-evdev ........................ no
    QPA backends:
      DirectFB ............................... no
      EGLFS .................................. no
      LinuxFB ................................ no
      Mir client ............................. no
    Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows
    Qt PrintSupport:
      CUPS ................................... no
    
    WARNING: No QPA platform plugin enabled! This will
    produce a Qt that cannot run GUI applications.
    The dependencies needed for xcb to build are listed in
    src/plugins/platforms/xcb/README
    
    ERROR: The OpenGL functionality tests failed!
    You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
    QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
    
    Check config.log for details.
    
    4282eca8c0a9:~/qtbase-opensource-src-5.8.0# QMAKE_INCDIR_OPENGLYou might need to modify the include and library search p
    aths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your
    platform.
    

    I find there is no change when i edit the mkspec of my platform, then i specify my platform manually by add param
    "-platform linux-g++-64" then the problem solved.

    A 1 Reply Last reply
    0
    • W wegatron

      Re: [I built Qt Everywhere for beaglebone black (OS Debian) but fail](somebody used to built it success can help me?)
      I meet the same problem when i try to build qt on alpine.

       OpenGL:
          EGL .................................. no
          Desktop OpenGL ....................... no
          OpenGL ES 2.0 ........................ no
          OpenGL ES 3.0 ........................ no
          OpenGL ES 3.1 ........................ no
        Session Management ..................... yes
      Features used by QPA backends:
        evdev .................................. no
        libinput ............................... no
        mtdev .................................. no
        tslib .................................. no
        xkbcommon-evdev ........................ no
      QPA backends:
        DirectFB ............................... no
        EGLFS .................................. no
        LinuxFB ................................ no
        Mir client ............................. no
      Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows
      Qt PrintSupport:
        CUPS ................................... no
      
      WARNING: No QPA platform plugin enabled! This will
      produce a Qt that cannot run GUI applications.
      The dependencies needed for xcb to build are listed in
      src/plugins/platforms/xcb/README
      
      ERROR: The OpenGL functionality tests failed!
      You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
      QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
      
      Check config.log for details.
      
      4282eca8c0a9:~/qtbase-opensource-src-5.8.0# QMAKE_INCDIR_OPENGLYou might need to modify the include and library search p
      aths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your
      platform.
      

      I find there is no change when i edit the mkspec of my platform, then i specify my platform manually by add param
      "-platform linux-g++-64" then the problem solved.

      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      @wegatron This means you don't have an opengl installed on your BB or in your sysroot. Or you passed incorrect parameters to your ./configure.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      2
      • G Offline
        G Offline
        gmabey
        wrote on last edited by
        #3

        I experienced the same configuration error and the solution worked for me too, but in my case I was just trying to configure with -opengl es2. So, there was no cross compiling involved, but still, appending -platform linux-g++-64 made it work.

        I'm working with the dev branch from git, so it's showing 5.11.0 as the version.

        O 1 Reply Last reply
        1
        • G gmabey

          I experienced the same configuration error and the solution worked for me too, but in my case I was just trying to configure with -opengl es2. So, there was no cross compiling involved, but still, appending -platform linux-g++-64 made it work.

          I'm working with the dev branch from git, so it's showing 5.11.0 as the version.

          O Offline
          O Offline
          Omni_Philm
          wrote on last edited by
          #4

          @gmabey

          @gmabey said in opengl test failed when configure qt asource:

          I experienced the same configuration error and the solution worked for me too, but in my case I was just trying to configure with -opengl es2. So, there was no cross compiling involved, but still, appending -platform linux-g++-64 made it work.

          I'm working with the dev branch from git, so it's showing 5.11.0 as the version.

          For the record, I was getting this error on my linux mint 19.1 Tessa addition. Adding the -platform linux-g++64 command fixed the problem.

          M 1 Reply Last reply
          2
          • O Omni_Philm

            @gmabey

            @gmabey said in opengl test failed when configure qt asource:

            I experienced the same configuration error and the solution worked for me too, but in my case I was just trying to configure with -opengl es2. So, there was no cross compiling involved, but still, appending -platform linux-g++-64 made it work.

            I'm working with the dev branch from git, so it's showing 5.11.0 as the version.

            For the record, I was getting this error on my linux mint 19.1 Tessa addition. Adding the -platform linux-g++64 command fixed the problem.

            M Offline
            M Offline
            Morix Dev
            wrote on last edited by
            #5

            @Omni_Philm @gmabey

            Same problem here, cross-compiling Qt 5.12.8 (EGLFS support only) for BBB on Kubuntu 19. After spending hours in trying to debug the problem, I found this topic on the forum: just adding -platform linux-g++-64 fixed the problem... simply crazy!

            /Morix

            1 Reply Last reply
            2

            • Login

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