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

WebEngine examples not compiling on LoA

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.0 RC
    • 6.8.0 Beta4
    • WebEngine
    • Linux/X11
    • a521c4d92 (6.8.0), c188cf257 (production), 2732d0e04 (dev)

    Description

      Install Qt 6.8.0 beta4 binaries on Ubuntu24.04 arm64, configure example webenginewidgets/notifications:

      /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/bin/qt-cmake
       -S /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/webenginewidgets/notifications 
      -B /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/webenginewidgets/notifications/bld_gcc_arm64 -GNinja 

      -> passes. Build: cmake --build . --parallel -j 8

      -> fails:

      [1/7] Running qmlimportscanner for notifications
      [2/7] Automatic MOC for target notifications
      [3/7] Running rcc for resource data
      [4/7] Building CXX object CMakeFiles/notifications.dir/bld_gcc_arm64/.qt/rcc/qrc_data.cpp.o
      [5/7] Building CXX object CMakeFiles/notifications.dir/notifications_autogen/mocs_compilation.cpp.o
      [6/7] Building CXX object CMakeFiles/notifications.dir/main.cpp.o
      [7/7] Linking CXX executable notifications
      FAILED: notifications 
      : && /usr/bin/c++   CMakeFiles/notifications.dir/notifications_autogen/mocs_compilation.cpp.o CMakeFiles/notifications.dir/main.cpp.o CMakeFiles/notifications.dir/bld_gcc_arm64/.qt/rcc/qrc_data.cpp.o -o notifications  -Wl,-rpath,/home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib:  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineWidgets.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebChannel.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6Positioning.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6PrintSupport.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6Widgets.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6Quick.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6QmlMeta.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6QmlWorkerScript.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6QmlModels.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6OpenGL.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6Gui.so.6.8.0  /usr/lib/aarch64-linux-gnu/libGLX.so  /usr/lib/aarch64-linux-gnu/libOpenGL.so  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6Qml.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6Network.so.6.8.0  /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6Core.so.6.8.0  -Wl,-rpath-link,/home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib && :
      /usr/bin/ld: warning: libwebp.so.6, needed by /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0, not found (try using -rpath or -rpath-link)
      /usr/bin/ld: warning: libtiff.so.5, needed by /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0, not found (try using -rpath or -rpath-link)
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFIsTiled@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFScanlineSize@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFClose@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFGetFieldDefaulted@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFError@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFFileName@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFReadRGBAImageOriented@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFGetField@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFClientOpen@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFSetField@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFSetDirectory@LIBTIFF_4.0'
      /usr/bin/ld: /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_arm64/lib/libQt6WebEngineCore.so.6.8.0: undefined reference to `TIFFReadScanline@LIBTIFF_4.0'
      collect2: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed. 

      Same with all WebEngine examples.

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes