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. Qmake can't find wayland-egl( building QtWayland )

Qmake can't find wayland-egl( building QtWayland )

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 5 Posters 12.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.
  • D Offline
    D Offline
    destdestiny1
    wrote on last edited by
    #1

    when I run qmake, I get next log:

    /home/user/Qt5.1.0/5.1.0/gcc/bin/qmake
    Info: creating cache file /home/user/qtwayland/.qmake.cache
    Checking for wayland... yes
    Checking for xkbcommon... yes
    Checking for wayland_scanner... yes
    Checking for wayland_egl... no
    Checking for egl... no
    Checking for brcm_egl... no
    Checking for glx... yes
    Checking for xcomposite... yes
    Project MESSAGE: no wayland-egl support detected, cross-toolkit compatibility disabled

    I build QtWayland by http://qt-project.org/wiki/QtWayland
    So, why qmake can't find wayland-egl and egl?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jrch2k10
      wrote on last edited by
      #2

      i have the same issue i can't get qtwayland to work either

      1 Reply Last reply
      0
      • D Offline
        D Offline
        destdestiny1
        wrote on last edited by
        #3

        [quote author="jrch2k10" date="1374593326"]i have the same issue i can't get qtwayland to work either [/quote]

        Did you compile MESA?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jrch2k10
          wrote on last edited by
          #4

          well it failed me in Arch and Gentoo with mesa git and wayland 1.2

          1 Reply Last reply
          0
          • M Offline
            M Offline
            max_posedon
            wrote on last edited by
            #5

            Looks like "#480654":https://bugs.gentoo.org/show_bug.cgi?id=480654 is the reason.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              Portaloffreedom
              wrote on last edited by
              #6

              the reason is that your qt base is not compiled with egl support

              in order to do this you have to make sure that options "-egl" and "-opengl es2" are used when running configure.

              Example:

              ./configure -confirm-license -opensource -egl -opengl es2

              make

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Avtansh Sharma
                wrote on last edited by Avtansh Sharma
                #7

                Hi,

                I am getting error

                ./configure -top-level -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-'' -sysroot /home/fs/raspi/sysroot -opensource -confirm-license -make libs -prefix usr/local/qt5pi -extprefix /home/fs/raspi/qt5pi -hostprefix /home/fs/raspi/qt5 -v

                Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.

                ERROR: Feature 'egl' was enabled, but the pre-condition '(features.opengl || features.openvg) && (features.angle || libs.egl)' failed.

                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.

                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