The strange thing about this error is that in the config.log for qtwayland, the
wayland_egl passed the config test. The config test successfully found the .pc
file and grab all the necessary libraries and header files. It is strange to me
that when I run make, it cannot find the EGL package.
-Alexander Keller
-----Original Message-----
From: Thomas Senyk [mailto:[email protected]]
Sent: Wednesday, January 09, 2013 4:44 AM
To: [email protected]
Cc: Keller Alexander-B42067; Nichols Andy
Subject: Re: [Development] qtwayland on i.mx6
On Tue, January 08, 2013 21:23:54 Keller Alexander-B42067 wrote:
> I reverted back to the pervious version of qt5, but I still get this error.
>
> Qt-Compositor configured with openGL integration: wayland_egl Project
> ERROR: Package egl not found
Their is a general assumption in all qtwayland that if pkgconfig is available,
then their are also .pc files for everything (e.g. wayland_egl, egl, ...)
Me personally, I've never seen a embedded GPU-driver delivering egl.pc.
Their are even Qt/qmake variables to encounter for that.
Not sure how the case for wayland-egl is (not played with it on embedded yet),
but all the PKGCONFIG += ... egl ... within qtwayland look wrong to me.
Shouldn't config.test figure out what to do? ...
-> wayland_egl_pkgconfig tests if wayland-egl.pc is present.
If not -> wayland_egl_direct tests if -lwayland-egl works ....
Based on those tests their is a .qmake.cache or something like that which sets
all variables so no additional "PKGCONFIG += ..." or "-l..." are needed within
.pro or .pri files.
Just me 5 cents!... It could be that I haven't taken a close enough look and
that I'm inherently wrong ;)
Greets
Thomas
>
> The EGL is install in the correct directory because when I check the
> config.log the egl package is found and passed the config test. Is there a
> variable that I need to set in order to make qtwayland grab the egl
> package?
>
> -Alexander Keller
>
> From: Nichols Andy [mailto:[email protected]]
> Sent: Tuesday, January 08, 2013 2:50 PM
> To: Keller Alexander-B42067
> Cc: [email protected]
> Subject: RE: qtwayland on i.mx6
>
> /home/alexander/qtwayland/src/compositor/compositor_api/compositor_api.pri:1
> 5: 'qtHaveModule' is not a recognized test function. Project ERROR: Package
> egl not found
> make[1]: *** [sub-compositor-install_subtargets] Error 3
> make[1]: Leaving directory `/home/alexander/qtwayland/src'
> make: *** [sub-src-install_subtargets] Error 2
>
> This is caused by commit:
> https://qt.gitorious.org/qt/qtwayland/commit/3758b0183e182007ac68fa74af9382
> 1a0353c5e6
>
> This commit went in today, an unfortunately makes qtwayland incompatible
> with Qt 5.0.0 , but isn't really necessary yet, so you can revert it
> safely.
>
> Regards,
> --
> Andy Nichols
executing config test wayland
+ cd /home/alexander/qtwayland/config.tests/wayland && /usr/bin/qmake "CONFIG
-= qt debug_and_release app_bundle lib_bundle"
/home/alexander/qtwayland/config.tests/wayland
+ cd /home/alexander/qtwayland/config.tests/wayland && make
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1
-DEGL_API_FB=1 -fno-exceptions -Wall -W -fPIE -DQT_NO_LIBUDEV -DQT_NO_XCB
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I/home/alexander/qtbuild/mkspecs/devices/linux-imx6-g++ -I.
-I/home/alexander/qtfilesystem/usr/include -o .obj/release-shared/main.o
main.cpp
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-Wl,-rpath-link,/home/alexander/qtfilesystem/usr/lib -Wl,-O1 -o wayland
.obj/release-shared/main.o -L/home/alexander/qtfilesystem/usr/lib
-lwayland-client
test wayland succeeded
executing config test xkbcommon
+ cd /home/alexander/qtwayland/config.tests/xkbcommon && /usr/bin/qmake "CONFIG
-= qt debug_and_release app_bundle lib_bundle"
/home/alexander/qtwayland/config.tests/xkbcommon
+ cd /home/alexander/qtwayland/config.tests/xkbcommon && make
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1
-DEGL_API_FB=1 -fno-exceptions -Wall -W -fPIE -DQT_NO_LIBUDEV -DQT_NO_XCB
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I/home/alexander/qtbuild/mkspecs/devices/linux-imx6-g++ -I.
-I/home/alexander/qtfilesystem/usr/include -o .obj/release-shared/main.o
main.cpp
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-Wl,-rpath-link,/home/alexander/qtfilesystem/usr/lib -Wl,-O1 -o xkbcommon
.obj/release-shared/main.o -L/home/alexander/qtfilesystem/usr/lib -lxkbcommon
test xkbcommon succeeded
executing config test brcm_egl
+ cd /home/alexander/qtwayland/config.tests/brcm_egl && /usr/bin/qmake "CONFIG
-= qt debug_and_release app_bundle lib_bundle"
/home/alexander/qtwayland/config.tests/brcm_egl
+ cd /home/alexander/qtwayland/config.tests/brcm_egl && make
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1
-DEGL_API_FB=1 -fno-exceptions -Wall -W -fPIE -DQT_NO_LIBUDEV -DQT_NO_XCB
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I/home/alexander/qtbuild/mkspecs/devices/linux-imx6-g++ -I.
-I/home/alexander/qtfilesystem/usr/include -o .obj/release-shared/main.o
main.cpp
main.cpp:47:29: fatal error: EGL/eglext_brcm.h: No such file or directory
compilation terminated.
make: *** [.obj/release-shared/main.o] Error 1
test brcm_egl FAILED
executing config test egl
+ cd /home/alexander/qtwayland/config.tests/egl && /usr/bin/qmake "CONFIG -= qt
debug_and_release app_bundle lib_bundle"
/home/alexander/qtwayland/config.tests/egl
+ cd /home/alexander/qtwayland/config.tests/egl && make
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1
-DEGL_API_FB=1 -fno-exceptions -Wall -W -fPIE -DQT_NO_LIBUDEV -DQT_NO_XCB
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I/home/alexander/qtbuild/mkspecs/devices/linux-imx6-g++ -I.
-I/home/alexander/qtfilesystem/usr/include -o .obj/release-shared/main.o
main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:45:16: warning: unused variable 'display' [-Wunused-variable]
main.cpp: At global scope:
main.cpp:43:5: warning: unused parameter 'argc' [-Wunused-parameter]
main.cpp:43:5: warning: unused parameter 'argv' [-Wunused-parameter]
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-Wl,-rpath-link,/home/alexander/qtfilesystem/usr/lib -Wl,-O1 -o egl
.obj/release-shared/main.o -L/home/alexander/qtfilesystem/usr/lib -lEGL
test egl succeeded
executing config test glx
+ cd /home/alexander/qtwayland/config.tests/glx && /usr/bin/qmake "CONFIG -= qt
debug_and_release app_bundle lib_bundle"
/home/alexander/qtwayland/config.tests/glx
Project ERROR: Package x11 not found
test glx FAILED
executing config test wayland_egl
+ cd /home/alexander/qtwayland/config.tests/wayland_egl && /usr/bin/qmake
"CONFIG -= qt debug_and_release app_bundle lib_bundle"
/home/alexander/qtwayland/config.tests/wayland_egl
+ cd /home/alexander/qtwayland/config.tests/wayland_egl && make
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-c -pipe -mfloat-abi=softfp -O2 -O2 -march=armv7-a -mfpu=neon -DLINUX=1
-DEGL_API_FB=1 -fno-exceptions -Wall -W -fPIE -DQT_NO_LIBUDEV -DQT_NO_XCB
-DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I/home/alexander/qtbuild/mkspecs/devices/linux-imx6-g++ -I.
-I/home/alexander/qtfilesystem/usr/include/wayland-egl.h
-I/home/alexander/qtfilesystem/usr/include -o .obj/release-shared/main.o
main.cpp
cc1plus: warning: /home/alexander/qtfilesystem/usr/include/wayland-egl.h: not a
directory [enabled by default]
main.cpp: In function 'int main()':
main.cpp:45:27: warning: unused variable 'window' [-Wunused-variable]
/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-g++
-Wl,-rpath-link,/home/alexander/qtfilesystem/usr/lib -Wl,-O1 -o wayland_egl
.obj/release-shared/main.o -L/home/alexander/qtfilesystem/usr/lib -lEGL
test wayland_egl succeeded
executing config test xcomposite
+ cd /home/alexander/qtwayland/config.tests/xcomposite && /usr/bin/qmake
"CONFIG -= qt debug_and_release app_bundle lib_bundle"
/home/alexander/qtwayland/config.tests/xcomposite
Project ERROR: Package xcomposite not found
test xcomposite FAILED
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development