Build QT5.8 Wayland with Waylandversion 1.12.90



  • Im trying to build Qt5.8 (Git ) with waylandcompositor and wayland version 1.12.90 but i get this error:

    g++ -Wl,--no-undefined -Wl,--version-script,QtWaylandClient.version -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,$ORIGIN -Wl,-rpath-link,/home/fleixi/git/qt5.8/qtbase/lib -shared -Wl,-soname,libQt5WaylandClient.so.5 -o libQt5WaylandClient.so.5.8.0 .obj/qwaylandintegration.o .obj/qwaylandnativeinterface.o .obj/qwaylandshmbackingstore.o .obj/qwaylandinputdevice.o .obj/qwaylandcursor.o .obj/qwaylanddisplay.o .obj/qwaylandwindow.o .obj/qwaylandscreen.o .obj/qwaylandshmwindow.o .obj/qwaylandclipboard.o .obj/qwaylanddnd.o .obj/qwaylanddataoffer.o .obj/qwaylanddatadevicemanager.o .obj/qwaylanddatasource.o .obj/qwaylandshellsurface.o .obj/qwaylandwlshellsurface.o .obj/qwaylandwlshellintegration.o .obj/qwaylandxdgshell.o .obj/qwaylandxdgsurface.o .obj/qwaylandxdgpopup_p.o .obj/qwaylandxdgshellintegration.o .obj/qwaylandextendedsurface.o .obj/qwaylandsubsurface.o .obj/qwaylandtouch.o .obj/qwaylandqtkey.o .obj/qwaylandmimehelper.o .obj/qwaylandxkb.o .obj/qwaylandinputmethodeventbuilder.o .obj/qwaylandabstractdecoration.o .obj/qwaylanddecorationfactory.o .obj/qwaylanddecorationplugin.o .obj/qwaylandwindowmanagerintegration.o .obj/qwaylandinputcontext.o .obj/qwaylanddatadevice.o .obj/qwaylandshm.o .obj/qwaylandbuffer.o .obj/qwaylandclientbufferintegration.o .obj/qwaylandclientbufferintegrationplugin.o .obj/qwaylandclientbufferintegrationfactory.o .obj/qwaylandserverbufferintegration.o .obj/qwaylandserverbufferintegrationplugin.o .obj/qwaylandserverbufferintegrationfactory.o .obj/qwaylandhardwareintegration.o .obj/qwaylandshellintegrationplugin.o .obj/qwaylandshellintegrationfactory.o .obj/qwaylandinputdeviceintegrationplugin.o .obj/qwaylandinputdeviceintegrationfactory.o .obj/qwaylandclientextension.o .obj/wayland-wayland-protocol.o .obj/wayland-surface-extension-protocol.o .obj/wayland-touch-extension-protocol.o .obj/wayland-qtkey-extension-protocol.o .obj/wayland-qt-windowmanager-protocol.o .obj/wayland-text-input-unstable-v2-protocol.o .obj/wayland-xdg-shell-protocol.o .obj/wayland-server-buffer-extension-protocol.o .obj/wayland-hardware-integration-protocol.o .obj/qwayland-wayland.o .obj/qwayland-surface-extension.o .obj/qwayland-touch-extension.o .obj/qwayland-qtkey-extension.o .obj/qwayland-qt-windowmanager.o .obj/qwayland-text-input-unstable-v2.o .obj/qwayland-xdg-shell.o .obj/qwayland-server-buffer-extension.o .obj/qwayland-hardware-integration.o .obj/moc_qwaylanddisplay_p.o .obj/moc_qwaylandwindow_p.o .obj/moc_qwaylandinputdevice_p.o .obj/moc_qwaylanddatasource_p.o .obj/moc_qwaylandshellsurface_p.o .obj/moc_qwaylandwlshellsurface_p.o .obj/moc_qwaylandxdgsurface_p.o .obj/moc_qwaylandxdgpopup_p.o .obj/moc_qwaylandabstractdecoration_p.o .obj/moc_qwaylanddecorationplugin_p.o .obj/moc_qwaylandwindowmanagerintegration_p.o .obj/moc_qwaylandinputcontext_p.o .obj/moc_qwaylanddatadevice_p.o .obj/moc_qwaylandclientbufferintegrationplugin_p.o .obj/moc_qwaylandserverbufferintegrationplugin_p.o .obj/moc_qwaylandshellintegrationplugin_p.o .obj/moc_qwaylandinputdeviceintegrationplugin_p.o .obj/moc_qwaylandclientextension.o -L/usr/lib/arm-linux-gnueabihf/ -L/home/fleixi/git/qt5.8/qtbase/lib -lQt5PlatformSupport -lQt5DBus -lXext -lX11 -lm -ldl -lgthread-2.0 -lglib-2.0 -ludev -linput -lxkbcommon -lmtdev -lfontconfig -lfreetype -lEGL -L/usr/lib/arm-linux-gnueabihf -lGLESv2 -lQt5Gui -lQt5Core -lpthread -lfontconfig -lfreetype -L/opt/wayland/lib -lxkbcommon -lwayland-client -lwayland-cursor -lglib-2.0 -lGLESv2
    .obj/qwayland-wayland.o:qwayland-wayland.cpp:function QtWayland::wl_registry::bind(unsigned int, wl_interface const*, unsigned int): error: undefined reference to 'wl_proxy_marshal_constructor_versioned'
    .obj/qwayland-wayland.o:qwayland-wayland.cpp:function QtWayland::wl_registry::init(wl_registry*, int, int): error: undefined reference to 'wl_proxy_marshal_constructor_versioned'
    .obj/qwayland-wayland.o:qwayland-wayland.cpp:function QtWayland::wl_callback::init(wl_registry*, int, int): error: undefined reference to 'wl_proxy_marshal_constructor_versioned'
    .obj/qwayland-wayland.o:qwayland-wayland.cpp:function QtWayland::wl_compositor::init(wl_registry*, int, int): error: undefined reference to 'wl_proxy_marshal_constructor_versioned'
    collect2: error: ld returned 1 exit status
    Makefile:379: recipe for target '../../lib/libQt5WaylandClient.so.5.8.0' failed
    make[3]: *** [../../lib/libQt5WaylandClient.so.5.8.0] Error 1
    make[3]: Leaving directory '/home/fleixi/git/qt5.8/qtwayland/src/client'
    Makefile:121: recipe for target 'sub-client-make_first' failed
    make[2]: *** [sub-client-make_first] Error 2

    wayland installed to /opt/wayland/ but there is allready a -I/opt/wayland/include and a -L/opt/wayland/lib

    Im using a Ubuntu 16.04 and compile on an armv7 CPU (odroid-xu4). With the system wayland (version 1.9) i could compile QT without errors.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.