Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57664

Cannot build Qt w/ Wayland in Ubuntu 14.04.05

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.8.0 RC
    • QPA: Wayland
    • None
    • Ubuntu 14.04.05, Wayland 1.10.0, Wayland Protocols 1.1

    Description

      Qt 5.8.0 RC fails to compile w/ Ubuntu 14.04.05 + Wayland 1.10.0 when the QtWayland module is enabled. However, it successfully compiles if the QtWayland module is not enabled during configuration. This is a regression, as the Qt 5.8.0 Beta w/ QtWayland compiles successfully on the same setup.

      Qt 5.8.0 RC was configured w/ the following args: ./configure -qt-xcb -opengl es2
      The error message is as follows:

      g++ Wl,no-undefined -Wl,-O1 -fuse-ld=gold -Wl,-enable-new-dtags -Wl,-z,origin -Wl,-rpath,\$ORIGIN -Wl,-rpath-link,/home/jlamothe/Development/qt-everywhere-opensource-src-5.8.0-rc/qtbase/lib -shared -Wl,-Bsymbolic-functions -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.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/home/jlamothe/Development/qt-everywhere-opensource-src-5.8.0-rc/qtbase/lib -lQt5Gui -lQt5Core -lpthread -lwayland-client -lwayland-cursor -lQt5FontDatabaseSupport -L/home/jlamothe/Development/qt-everywhere-opensource-src-5.8.0-rc/qtbase/lib -lQt5EventDispatcherSupport -lgthread-2.0 -lglib-2.0 -lQt5ThemeSupport -lQt5DBus -lQt5ServiceSupport -lQt5Gui -lQt5Core -lpthread -lGLESv2 -lxkbcommon -lfontconfig -lfreetype
      .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
      make[3]: *** [../../lib/libQt5WaylandClient.so.5.8.0] Error 1
      make[3]: Leaving directory `/home/jlamothe/Development/qt-everywhere-opensource-src-5.8.0-rc/qtwayland/src/client'
      make[2]: *** [sub-client-make_first] Error 2
      make[2]: Leaving directory `/home/jlamothe/Development/qt-everywhere-opensource-src-5.8.0-rc/qtwayland/src'
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory `/home/jlamothe/Development/qt-everywhere-opensource-src-5.8.0-rc/qtwayland'
      make: *** [module-qtwayland-make_first] Error 2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            johanhelsing Johan Helsing
            jlamothe-docboxinc Jereme Lamothe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes