I have successfully built QT 5.4 from the beta sources package and that is working fine.
Now I wanted to check soem of the apps i have with QtWayland.
when configuring qt for a cross build, i saw that wayland hadnt been detected
Build options:
QPA backends:
DirectFB ............. no
EGLFS ................ yes
KMS .................. no
LinuxFB .............. yes
XCB .................. yes (system library)
EGL on X ........... no
GLX ................ yes
MIT-SHM ............ yes
Xcb-Xlib ........... yes
Xcursor ............ yes (loaded at runtime)
Xfixes ............. yes (loaded at runtime)
Xi ................. no
Xi2 ................ yes
Xinerama ........... yes (loaded at runtime)
Xrandr ............. yes (loaded at runtime)
Xrender ............ yes
XKB ................ no
XShape ............. yes
XSync .............. yes
XVideo ............. yes
I have then tried to look into that and found a couple tutorials around to build qtwayland.
First thing i have noticed is that qtwayland is part of qt 5.4 as i can see.
as most of the tutorial mention, i grabbed wayland repo and built wayland scanner doing
git clone git://anongit.freedesktop.org/wayland/wayland
cd wayland
./autogen.sh
./configure --disable-documentation
make
cp wayland-scanner /usr/local/qt5pi/bin
Scanner seemed to be installed properly
pi@ubuntu:~$ which wayland-scanner
/usr/local/bin/wayland-scanner
then when i go to qtwayland subdirectory in qt sources and try qmake, here is what i’m getting :
pi@ubuntu:~/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland$ qmake
WARNING: /home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:1: Unable to find file for inclusion configure
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:2: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:3: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:4: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:5: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:6: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:7: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:8: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:9: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:10: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:11: Unknown test function: qtCompileTest
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:12: Unknown test function: qtCompileTest
WARNING: /home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:14: Unable to find file for inclusion qt_parts
Project WARNING: QtWayland requires Wayland 1.2.0 or higher, QtWayland will not be built
Project WARNING: No xkbcommon 0.2.0 or higher found, disabling support for it
Project WARNING: QtWayland requires wayland-scanner, QtWayland will not be built
Project WARNING: QtWayland requires wayland-cursor, QtWayland will not be built
Project MESSAGE: no wayland-egl support detected, cross-toolkit compatibility disabled
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:36: Parse Error ('message("no wayland-egl support detected, cross-toolkit compatibility disabled");')
/home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro:36: Unterminated conditional block at end of file
Error processing project file: /home/pi/opt/qt-everywhere-opensource-src-5.4.0-beta/qtwayland/qtwayland.pro
I haven’t been able to find what is going wrong here. none of the tutorials i have checked come with any hint about it …
If anyone can give me a couple hints that’d be awesome :)
↧