添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
+ cd qtbase
+ /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/configure -top-level -platform linux-aarch64-gnu-g++ -prefix /opt/qt5.15.6_aarch64 -confirm-license -opensource -release -shared -make libs -nomake examples -nomake tests -dbus -opengl -pch -qt-libjpeg -qt-libpng -qt-zlib -xcb -alsa -gif -gstreamer 1.0 -pulseaudio -fontconfig -system-freetype
Creating qmake...
.Done.
This is the Qt Open Source Edition.
You have already accepted the terms of the Open Source license.
Running configuration tests...
Done running configuration tests.
Configure summary:
Build type: linux-aarch64-gnu-g++ (arm64, CPU features: cx16 neon)
Compiler: gcc 9.4.0
Configuration: compile_examples enable_new_dtags largefile neon precompile_header shared shared rpath release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports stl
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Building shared libraries .............. yes
  Using C standard ....................... C11
  Using C++ standard ..................... C++17
  Using ccache ........................... no
  Using new DTAGS ........................ yes
  Relocatable ............................ yes
  Using precompiled headers .............. yes
  Using LTCG ............................. no
  Target compiler supports:
    NEON ................................. yes
  Build parts ............................ libs
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... yes
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... yes
  udev ................................... yes
  Using system zlib ...................... no
  Zstandard support ...................... no
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... yes
  iconv .................................. no
  ICU .................................... yes
  Built-in copy of the MIME database ..... yes
  Tracing backend ........................ <none>
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  PCRE2 .................................. yes
    Using system PCRE2 ................... yes
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  Linux AF_NETLINK ....................... yes
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ no
  OpenSSL 1.1 ............................ yes
  DTLS ................................... yes
  OCSP-stapling .......................... yes
  SCTP ................................... no
  Use system proxies ..................... yes
  GSSAPI ................................. no
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ yes
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
  Fontconfig ............................. yes
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... no
    PNG .................................. yes
      Using system libpng ................ no
  Text formats:
    HtmlParser ........................... yes
    CssParser ............................ yes
    OdfWriter ............................ yes
    MarkdownReader ....................... yes
      Using system libmd4c ............... no
    MarkdownWriter ....................... yes
  EGL .................................... yes
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... yes
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. yes
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon .............................. yes
  X11 specific:
    XLib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... yes
    xkbcommon-x11 ........................ yes
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... yes
    EGLFS GBM ............................ no
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGLFS X11 ............................ yes
  LinuxFB ................................ yes
  VNC .................................... yes
    Using system-provided xcb-xinput ..... yes
    Native painting (experimental) ....... no
    GL integrations:
      GLX Plugin ......................... yes
        XCB GLX .......................... yes
      EGL-X11 Plugin ..................... yes
Qt Sql:
  SQL item models ........................ yes
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... yes
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite2 ................................ no
  SQLite ................................. yes
    Using system provided SQLite ......... no
  TDS (Sybase) ........................... no
Qt Testlib:
  Tester for item models ................. yes
Serial Port:
  ntddmodm ............................... no
Qt SerialBus:
  Socket CAN ............................. yes
  Socket CAN FD .......................... yes
  SerialPort Support ..................... yes
Further Image Formats:
  JasPer ................................. no
  MNG .................................... no
  TIFF ................................... yes
    Using system libtiff ................. yes
  WEBP ................................... yes
    Using system libwebp ................. no
Qt QML:
  QML network support .................... yes
  QML debugging and profiling support .... yes
  QML just-in-time compiler .............. yes
  QML sequence object .................... yes
  QML XML http request ................... yes
  QML Locale ............................. yes
Qt QML Models:
  QML list model ......................... yes
  QML delegate model ..................... yes
Qt Quick:
  Direct3D 12 ............................ no
  AnimatedImage item ..................... yes
  Canvas item ............................ yes
  Support for Qt Quick Designer .......... yes
  Flipable item .......................... yes
  GridView item .......................... yes
  ListView item .......................... yes
  TableView item ......................... yes
  Path support ........................... yes
  PathView item .......................... yes
  Positioner items ....................... yes
  Repeater item .......................... yes
  ShaderEffect item ...................... yes
  Sprite item ............................ yes
QtQuick3D:
  Assimp ................................. yes
  System Assimp .......................... no
Qt Scxml:
  ECMAScript data model for QtScxml ...... yes
Qt Gamepad:
  SDL2 ................................... no
Qt 3D:
  Assimp ................................. yes
  System Assimp .......................... no
  Output Qt3D GL traces .................. no
  Use SSE2 instructions .................. no
  Use AVX2 instructions .................. no
  Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
Qt 3D Renderers:
  OpenGL Renderer ........................ yes
  RHI Renderer ........................... no
Qt 3D GeometryLoaders:
  Autodesk FBX ........................... no
Qt Wayland Client ........................ no
Qt Wayland Compositor .................... no
Qt Bluetooth:
  BlueZ .................................. yes
  BlueZ Low Energy ....................... yes
  Linux Crypto API ....................... yes
  Native Win32 Bluetooth ................. no
  WinRT Bluetooth API (desktop & UWP) .... no
  WinRT advanced bluetooth low energy API (desktop & UWP) . no
Qt Sensors:
  sensorfw ............................... no
Qt Quick Controls 2:
  Styles ................................. Default Fusion Imagine Material Universal
Qt Quick Templates 2:
  Hover support .......................... yes
  Multi-touch support .................... yes
Qt Positioning:
  Gypsy GPS Daemon ....................... no
  WinRT Geolocation API .................. no
Qt Location:
  Qt.labs.location experimental QML plugin . no
  Geoservice plugins:
    OpenStreetMap ........................ yes
    HERE ................................. yes
    Esri ................................. yes
    Mapbox ............................... yes
    MapboxGL ............................. yes
    Itemsoverlay ......................... yes
QtXmlPatterns:
  XML schema support ..................... yes
Qt Multimedia:
  ALSA ................................... yes
  GStreamer 1.0 .......................... yes
  GStreamer 0.10 ......................... no
  Video for Linux ........................ yes
  OpenAL ................................. no
  PulseAudio ............................. yes
  Resource Policy (libresourceqt5) ....... no
  Windows Audio Services ................. no
  DirectShow ............................. no
  Windows Media Foundation ............... no
Qt TextToSpeech:
  Flite .................................. no
  Flite with ALSA ........................ no
  Speech Dispatcher ...................... no
Qt Tools:
  Qt Assistant ........................... yes
  Qt Designer ............................ yes
  Qt Distance Field Generator ............ yes
  kmap2qmap .............................. yes
  Qt Linguist ............................ yes
  Mac Deployment Tool .................... no
  makeqpf ................................ yes
  pixeltool .............................. yes
  qdbus .................................. yes
  qev .................................... yes
  Qt Attributions Scanner ................ yes
  qtdiag ................................. yes
  qtpaths ................................ yes
  qtplugininfo ........................... yes
  Windows deployment tool ................ no
  WinRT Runner Tool ...................... no
Qt Tools:
  QDoc ................................... yes
Qt WebEngine Build Tools:
  Use System Ninja ....................... yes
  Jumbo Build Merge Limit ................ 8
  Developer build ........................ no
  Sanitizer .............................. no
  QtWebEngine required system libraries:
    fontconfig ........................... yes
    dbus ................................. yes
    nss .................................. yes
    khr .................................. yes
    glibc ................................ yes
  QtWebEngine required system libraries for qpa-xcb:
    x11 .................................. yes
    libdrm ............................... yes
    xcomposite ........................... yes
    xcursor .............................. yes
    xi ................................... yes
    xproto (glproto) ..................... yes
    xtst ................................. yes
    xkbfile .............................. yes
  Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . no
    opus ................................. no
    ffmpeg ............................... no
    libvpx ............................... no
    snappy ............................... no
    glib ................................. yes
    zlib ................................. no
    minizip .............................. no
    libevent ............................. yes
    libxml2 and libxslt .................. yes
    lcms2 ................................ no
    png .................................. no
    JPEG ................................. no
    harfbuzz ............................. no
    freetype ............................. yes
Qt WebEngineCore:
  Embedded build ......................... no
  Full debug information ................. no
  Pepper Plugins ......................... yes
  Printing and PDF ....................... yes
  Proprietary Codecs ..................... no
  Spellchecker ........................... yes
  Native Spellchecker .................... no
  WebRTC ................................. yes
  PipeWire over GIO ...................... no
  Geolocation ............................ yes
  WebChannel support ..................... yes
  Kerberos Authentication ................ no
  Extensions ............................. yes
  Support qpa-xcb ........................ yes
  Use ALSA ............................... yes
  Use PulseAudio ......................... yes
Qt WebEngineQml:
  Support Qt WebEngine Qml ............... yes
  UI Delegates ........................... yes
  Test Support ........................... no
Qt WebEngineWidgets:
  Support Qt WebEngine Widgets ........... yes
Qt PDF:
  Support V8 ............................. no
  Support XFA ............................ no
  Support XFA-BMP ........................ no
  Support XFA-GIF ........................ no
  Support XFA-PNG ........................ no
  Support XFA-TIFF ....................... no
Qt PDF Widgets:
  Support Qt PDF Widgets ................. yes
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/opt/qt5.15.6_aarch64'.
Prior to reconfiguration, make sure you remove any leftovers from
the previous build.

问题0:configure 提示 QtWebEngine will not be built(不编译)

0.0、完全信息

ngeli@ubuntu:/opt/qt5.15.6/qt-everywhere-src-5.15.6/build$ sudo vim ./autoConfigure.sh 
angeli@ubuntu:/opt/qt5.15.6/qt-everywhere-src-5.15.6/build$ sudo ./autoConfigure.sh 
+ cd qtbase
+ /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/configure -top-level -platform linux-aarch64-gnu-g++ -prefix /opt/qt5.15.6_aarch64 -confirm-license -opensource -release -shared -make libs -nomake examples -nomake tests -dbus -opengl -pch -qt-libjpeg -qt-libpng -qt-zlib -xcb -alsa -gif -gstreamer 1.0 -pulseaudio -fontconfig -system-freetype
Preparing build tree...
Creating qmake...
...............................................................................................Done.
Info: creating super cache file /opt/qt5.15.6/qt-everywhere-src-5.15.6/build/.qmake.super
Info: creating cache file /opt/qt5.15.6/qt-everywhere-src-5.15.6/build/.qmake.cache
Info: creating stash file /opt/qt5.15.6/qt-everywhere-src-5.15.6/build/.qmake.stash
This is the Qt Open Source Edition.
You have already accepted the terms of the Open Source license.
Running configuration tests...
Checking for machine tuple... yes
Checking for valid makespec... yes
Checking for target architecture... arm64
Checking for alloca() in alloca.h... yes
Checking for C++14 support... yes
Checking for C++17 support... yes
Checking for C99 support... yes
Checking for C11 support... yes
Checking for pkg-config... yes
Checking for D-Bus >= 1.2... yes
Checking for dlopen()... yes
Checking for new dtags support... yes
Checking for D-Bus >= 1.2 (host)... yes
Checking for Support for Intel Control-flow Enforcement Technology... no
Checking for udev... yes
Checking for POSIX fallocate()... yes
Checking for precompiled header support... yes
Checking for RDRAND instruction... no
Checking for RDSEED instruction... no
Checking for symbol visibility support... yes
Checking for -Bsymbolic-functions support... no
Checking for Signaling NaN for doubles... yes
Checking for STL compatibility... yes
Checking for Zstandard... no
Checking for clock_gettime()... yes
Checking for POSIX monotonic clock... yes
Checking for C++11 <future>... yes
Checking for eventfd... yes
Checking for futimens()... yes
Checking for getauxval()... yes
Checking for getentropy()... yes
Checking for GLib... yes
Checking for GNU libc... yes
Checking for POSIX iconv... yes
Checking for ICU... yes
Checking for inotify... yes
Checking for SysV IPC... yes
Checking for linkat()... yes
Checking for PCRE2... yes
Checking for ppoll()... yes
Checking for renameat2()... yes
Checking for slog2... no
Checking for statx() in libc... yes
Checking for 64 bit atomics... yes
Checking for DoubleConversion... no
Checking for O_CLOEXEC... yes
Checking for C++11 <random>... yes
Checking for working std::atomic for function pointers... yes
Checking for OpenSSL Headers... yes
Checking for DTLS support in OpenSSL... yes
Checking for getifaddrs()... yes
Checking for KRB5 GSSAPI Support... no
Checking for IPv6 ifname... yes
Checking for Linux AF_NETLINK sockets... yes
Checking for OCSP stapling support in OpenSSL... yes
Checking for XCB >= 1.11... yes
Checking for XCB ICCCM >= 0.3.9... yes
Checking for XCB SHM... yes
Checking for XCB Image >= 0.3.9... yes
Checking for XCB Keysyms >= 0.3.9... yes
Checking for XCB RandR... yes
Checking for XCB XRender... yes
Checking for XCB Renderutil >= 0.3.9... yes
Checking for XCB Shape... yes
Checking for XCB Sync... yes
Checking for XCB Xfixes... yes
Checking for XCB Xinerama... yes
Checking for XCB XKB... yes
Checking for XCB (extensions)... yes
Checking for xkbcommon >= 0.5.0... yes
Checking for xkbcommon-x11... yes
Checking for atspi... yes
Checking for Desktop OpenGL... yes
Checking for KMS... yes
Checking for DRM Atomic API... yes
Checking for EGL... yes
Checking for XLib... yes
Checking for EGL on X11... yes
Checking for EGLDevice... yes
Checking for GBM... no
Checking for Mali EGL... no
Checking for Mali 2 EGL... no
Checking for i.Mx6 EGL... no
Checking for XCB Xlib... yes
Checking for evdev... yes
Checking for FreeType... yes
Checking for Fontconfig... yes
Checking for libinput... no
Checking for LinuxFB... yes
Checking for mtdev... no
Checking for OpenVG... no
Checking for default QPA platform... xcb
Checking for HarfBuzz... no
Checking for libmd4c... no
Checking for XCB XInput... yes
Checking for tslib... no
Checking for Vulkan... yes
Checking for X11 prefix... /usr
Checking for XCB GLX... yes
Checking for X11 session management... no
Checking for GTK+ >= 3.6... no
Checking for CUPS... yes
Checking for DB2 (IBM)... no
Checking for InterBase... no
Checking for MySQL... no
Checking for OCI (Oracle)... no
Checking for ODBC... no
Checking for PostgreSQL... no
Checking for SQLite (version 2)... no
Checking for TDS (Sybase)... no
Checking for ntddmodm... no
Checking for Socket CAN... yes
Checking for Socket CAN FD... yes
Checking for 64bit pointers... yes
Checking for Sufficiently recent FPU on ARM... yes
Checking for python... /usr/bin/python
Checking for Direct3D 12... no
Checking for Assimp... no
Checking for SDL2... no
Checking for Assimp... no
Checking for Autodesk FBX... no
Checking for Wayland client library... no
Checking for Wayland EGL library... no
Checking for wayland-server... no
Checking for BlueZ... yes
Checking for BlueZ Low Energy... yes
Checking for Linux Crypto API... yes
Checking for sensorfw... no
Checking for Gypsy... no
Checking for WinRT Geolocation API... no
Checking for ALSA... yes
Checking for GStreamer 1.0... yes
Checking for GStreamer App 1.0... yes
Checking for GStreamer encoding-profile.h... yes
Checking for GStreamer OpenGL 1.0... yes
Checking for GStreamer Photography 1.0... yes
Checking for Video for Linux... yes
Checking for OpenAL... no
Checking for PulseAudio >= 0.9.10... yes
Checking for libresourceqt5... no
Checking for Flite... no
Checking for Speech Dispatcher... no
Checking for libclang... yes
Checking for architecture supported... yes
Checking for bison... yes
Checking for submodule initialized... yes
Checking for build path without whitespace... yes
Checking for platform supported... 
Checking for gperf... yes
Checking for flex... yes
Checking for python2... /usr/bin/python2
Checking for node.js... true
Checking for host pkg-config... /usr/bin/pkg-config
Checking for glibc > 2.16... yes
Checking for khr... yes
Checking for nss >= 3.26... yes
Checking for d-bus... yes
Checking for fontconfig... yes
Checking for x11... yes
Checking for libdrm... yes
Checking for xcomposite... yes
Checking for xcursor... yes
Checking for xi... yes
Checking for xproto (glproto)... yes
Checking for xtst... yes
Checking for xkbfile... no
Checking for jumbo build merge limit... 8
Checking for linker supports -z noexecstack... yes
Checking for freetype >= 2.4.2... yes
Checking for glib-2.0 >= 2.32.0... yes
Checking for lcms2... no
Checking for libevent... yes
Checking for libvpx... no
Checking for libwebp, libwebpmux and libwebpdemux... no
Checking for compatible libxml2 and libxslt... yes
Checking for minizip... no
Checking for system ninja... yes
Checking for opus... no
Checking for re2... no
Checking for snappy... no
Done running configuration tests.
Configure summary:
Build type: linux-aarch64-gnu-g++ (arm64, CPU features: cx16 neon)
Compiler: gcc 9.4.0
Configuration: compile_examples enable_new_dtags largefile neon precompile_header shared shared rpath release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports stl
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Building shared libraries .............. yes
  Using C standard ....................... C11
  Using C++ standard ..................... C++17
  Using ccache ........................... no
  Using new DTAGS ........................ yes
  Relocatable ............................ yes
  Using precompiled headers .............. yes
  Using LTCG ............................. no
  Target compiler supports:
    NEON ................................. yes
  Build parts ............................ libs
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... yes
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... yes
  udev ................................... yes
  Using system zlib ...................... no
  Zstandard support ...................... no
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... yes
  iconv .................................. no
  ICU .................................... yes
  Built-in copy of the MIME database ..... yes
  Tracing backend ........................ <none>
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  PCRE2 .................................. yes
    Using system PCRE2 ................... yes
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  Linux AF_NETLINK ....................... yes
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ no
  OpenSSL 1.1 ............................ yes
  DTLS ................................... yes
  OCSP-stapling .......................... yes
  SCTP ................................... no
  Use system proxies ..................... yes
  GSSAPI ................................. no
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ yes
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
  Fontconfig ............................. yes
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... no
    PNG .................................. yes
      Using system libpng ................ no
  Text formats:
    HtmlParser ........................... yes
    CssParser ............................ yes
    OdfWriter ............................ yes
    MarkdownReader ....................... yes
      Using system libmd4c ............... no
    MarkdownWriter ....................... yes
  EGL .................................... yes
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... yes
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. yes
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon .............................. yes
  X11 specific:
    XLib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... yes
    xkbcommon-x11 ........................ yes
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... yes
    EGLFS GBM ............................ no
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGLFS X11 ............................ yes
  LinuxFB ................................ yes
  VNC .................................... yes
    Using system-provided xcb-xinput ..... yes
    Native painting (experimental) ....... no
    GL integrations:
      GLX Plugin ......................... yes
        XCB GLX .......................... yes
      EGL-X11 Plugin ..................... yes
Qt Sql:
  SQL item models ........................ yes
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... yes
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite2 ................................ no
  SQLite ................................. yes
    Using system provided SQLite ......... no
  TDS (Sybase) ........................... no
Qt Testlib:
  Tester for item models ................. yes
Serial Port:
  ntddmodm ............................... no
Qt SerialBus:
  Socket CAN ............................. yes
  Socket CAN FD .......................... yes
  SerialPort Support ..................... yes
Further Image Formats:
  JasPer ................................. no
  MNG .................................... no
  TIFF ................................... yes
    Using system libtiff ................. yes
  WEBP ................................... yes
    Using system libwebp ................. no
Qt QML:
  QML network support .................... yes
  QML debugging and profiling support .... yes
  QML just-in-time compiler .............. yes
  QML sequence object .................... yes
  QML XML http request ................... yes
  QML Locale ............................. yes
Qt QML Models:
  QML list model ......................... yes
  QML delegate model ..................... yes
Qt Quick:
  Direct3D 12 ............................ no
  AnimatedImage item ..................... yes
  Canvas item ............................ yes
  Support for Qt Quick Designer .......... yes
  Flipable item .......................... yes
  GridView item .......................... yes
  ListView item .......................... yes
  TableView item ......................... yes
  Path support ........................... yes
  PathView item .......................... yes
  Positioner items ....................... yes
  Repeater item .......................... yes
  ShaderEffect item ...................... yes
  Sprite item ............................ yes
QtQuick3D:
  Assimp ................................. yes
  System Assimp .......................... no
Qt Scxml:
  ECMAScript data model for QtScxml ...... yes
Qt Gamepad:
  SDL2 ................................... no
Qt 3D:
  Assimp ................................. yes
  System Assimp .......................... no
  Output Qt3D GL traces .................. no
  Use SSE2 instructions .................. no
  Use AVX2 instructions .................. no
  Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
Qt 3D Renderers:
  OpenGL Renderer ........................ yes
  RHI Renderer ........................... no
Qt 3D GeometryLoaders:
  Autodesk FBX ........................... no
Qt Wayland Client ........................ no
Qt Wayland Compositor .................... no
Qt Bluetooth:
  BlueZ .................................. yes
  BlueZ Low Energy ....................... yes
  Linux Crypto API ....................... yes
  Native Win32 Bluetooth ................. no
  WinRT Bluetooth API (desktop & UWP) .... no
  WinRT advanced bluetooth low energy API (desktop & UWP) . no
Qt Sensors:
  sensorfw ............................... no
Qt Quick Controls 2:
  Styles ................................. Default Fusion Imagine Material Universal
Qt Quick Templates 2:
  Hover support .......................... yes
  Multi-touch support .................... yes
Qt Positioning:
  Gypsy GPS Daemon ....................... no
  WinRT Geolocation API .................. no
Qt Location:
  Qt.labs.location experimental QML plugin . no
  Geoservice plugins:
    OpenStreetMap ........................ yes
    HERE ................................. yes
    Esri ................................. yes
    Mapbox ............................... yes
    MapboxGL ............................. yes
    Itemsoverlay ......................... yes
QtXmlPatterns:
  XML schema support ..................... yes
Qt Multimedia:
  ALSA ................................... yes
  GStreamer 1.0 .......................... yes
  GStreamer 0.10 ......................... no
  Video for Linux ........................ yes
  OpenAL ................................. no
  PulseAudio ............................. yes
  Resource Policy (libresourceqt5) ....... no
  Windows Audio Services ................. no
  DirectShow ............................. no
  Windows Media Foundation ............... no
Qt TextToSpeech:
  Flite .................................. no
  Flite with ALSA ........................ no
  Speech Dispatcher ...................... no
Qt Tools:
  Qt Assistant ........................... yes
  Qt Designer ............................ yes
  Qt Distance Field Generator ............ yes
  kmap2qmap .............................. yes
  Qt Linguist ............................ yes
  Mac Deployment Tool .................... no
  makeqpf ................................ yes
  pixeltool .............................. yes
  qdbus .................................. yes
  qev .................................... yes
  Qt Attributions Scanner ................ yes
  qtdiag ................................. yes
  qtpaths ................................ yes
  qtplugininfo ........................... yes
  Windows deployment tool ................ no
  WinRT Runner Tool ...................... no
Qt Tools:
  QDoc ................................... yes
Qt WebEngine Build Tools:
  Use System Ninja ....................... yes
  Jumbo Build Merge Limit ................ 8
  Developer build ........................ no
  Sanitizer .............................. no
  QtWebEngine required system libraries:
    fontconfig ........................... yes
    dbus ................................. yes
    nss .................................. yes
    khr .................................. yes
    glibc ................................ yes
  QtWebEngine required system libraries for qpa-xcb:
    x11 .................................. yes
    libdrm ............................... yes
    xcomposite ........................... yes
    xcursor .............................. yes
    xi ................................... yes
    xproto (glproto) ..................... yes
    xtst ................................. yes
    xkbfile .............................. no
  Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . no
    opus ................................. no
    ffmpeg ............................... no
    libvpx ............................... no
    snappy ............................... no
    glib ................................. yes
    zlib ................................. no
    minizip .............................. no
    libevent ............................. yes
    libxml2 and libxslt .................. yes
    lcms2 ................................ no
    png .................................. no
    JPEG ................................. no
    harfbuzz ............................. no
    freetype ............................. yes
Qt PDF:
  Support V8 ............................. no
  Support XFA ............................ no
  Support XFA-BMP ........................ no
  Support XFA-GIF ........................ no
  Support XFA-PNG ........................ no
  Support XFA-TIFF ....................... no
Qt PDF Widgets:
  Support Qt PDF Widgets ................. yes
Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
Note: The following modules are not being compiled in this configuration:
    webenginecore
    webengine
    webenginewidgets
WARNING: Could not find all necessary libraries for qpa-xcb support in QtWebEngine.
WARNING: QtWebEngine will not be built.
Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/opt/qt5.15.6_aarch64'.
Prior to reconfiguration, make sure you remove any leftovers from
the previous build.

0.1、分析

查看配置输出信息发现必要的 “qpa-xcb” 库未发现,而前面提示要求的“xkbfile ”库的状态是“no”

0.2、解决

0.2.0、按照文档Jetson Xavier NX套件 Ubuntu 源码编译安装Qt5.15.6中的“QtWebengine相关依赖” 全部安装
0.2.1、运行autoConfigure 发现还是出现这个问题
0.2.2、将autoConfigure 拷贝到源码根目录运行后,正常。
//按照网上例子,在这里创建build文件夹,在build文件夹下再创建的配置脚本,
//现在将它复制到qt-everywhere-src-5.15.6目录下
cd ./qt-everywhere-src-5.15.6/
sudo cp ../build/autoConfigure.sh ./
sudo  ./autoConfigure.sh

问题1:编译qtlocation时make 被中断,提示/usr/bin/ld: cannot find -lqt_clip2tri、-lqt_poly2tri、-lqt_clipper

1.0、完全信息

make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtquickcontrols/src/widgets'
make[2]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtquickcontrols/src'
make[1]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtquickcontrols'
cd qtlocation/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/qtlocation.pro ) && make -f Makefile install
make[1]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation'
cd src/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/src.pro ) && make -f Makefile install
make[2]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src'
cd 3rdparty/clipper/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/clipper/clipper.pro ) && make -f Makefile install
make[3]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/clipper'
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/clipper'
cd 3rdparty/poly2tri/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/poly2tri/poly2tri.pro ) && make -f Makefile install
make[3]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/poly2tri'
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/poly2tri'
cd 3rdparty/clip2tri/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/clip2tri/clip2tri.pro ) && make -f Makefile install
make[3]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/clip2tri'
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/clip2tri'
cd positioning/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/positioning/positioning.pro ) && make -f Makefile install
make[3]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/positioning'
rm -f libQt5Positioning.so.5.15.6 libQt5Positioning.so libQt5Positioning.so.5 libQt5Positioning.so.5.15
aarch64-linux-gnu-g++ -Wl,--no-undefined -Wl,--version-script,QtPositioning.version -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,\$ORIGIN -shared -Wl,-soname,libQt5Positioning.so.5 -o libQt5Positioning.so.5.15.6 .obj/qgeoaddress.o .obj/qgeoareamonitorsource.o .obj/qgeoareamonitorinfo.o .obj/qgeoshape.o .obj/qgeorectangle.o .obj/qgeocircle.o .obj/qgeocoordinate.o .obj/qgeolocation.o .obj/qgeopositioninfo.o .obj/qgeopositioninfosource.o .obj/qgeosatelliteinfo.o .obj/qgeosatelliteinfosource.o .obj/qlocationutils.o .obj/qnmeapositioninfosource.o .obj/qgeopositioninfosourcefactory.o .obj/qdoublevector2d.o .obj/qdoublevector3d.o .obj/qgeopath.o .obj/qgeopolygon.o .obj/qlocationdata_simulator.o .obj/qwebmercator.o .obj/qdoublematrix4x4.o .obj/qclipperutils.o .obj/qgeocoordinateobject.o .obj/moc_qgeoareamonitorsource.o .obj/moc_qgeorectangle.o .obj/moc_qgeocircle.o .obj/moc_qgeocoordinate.o .obj/moc_qgeopositioninfosource.o .obj/moc_qgeosatelliteinfosource.o .obj/moc_qnmeapositioninfosource.o .obj/moc_qgeopolygon.o .obj/moc_qgeopath.o .obj/moc_qnmeapositioninfosource_p.o .obj/moc_qgeopath_p.o .obj/moc_qgeopolygon_p.o .obj/moc_qgeocoordinateobject_p.o  /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/lib/libQt5Core.so -lpthread -L/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/lib -lqt_clip2tri -lqt_poly2tri -lqt_clipper   
/usr/bin/ld: cannot find -lqt_clip2tri
/usr/bin/ld: cannot find -lqt_poly2tri
/usr/bin/ld: cannot find -lqt_clipper
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:215: ../../lib/libQt5Positioning.so.5.15.6] Error 1
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/positioning'
make[2]: *** [Makefile:142: sub-positioning-install_subtargets] Error 2
make[2]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src'
make[1]: *** [Makefile:61: sub-src-install_subtargets] Error 2
make[1]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation'
make: *** [Makefile:828: module-qtlocation-install_subtargets] Error 2

1.1、分析

查看make输出信息发现在编译Qtlocation模块(地图功能)时,需要lqt_clip2tri、lqt_poly2tri、lqt_clipper,QT源码里是有这三个项目存在的,所以进入对应目录手动make一次就行。

1.2、解决

1.2.0、进入clip2tri、poly2tri、clipper源码目录
//分别进入对应目录,sudo make
cd /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/clip2tri
cd /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/poly2tri
cd /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtlocation/src/3rdparty/clipper
1.2.1、手动编译
//在上述三个目录中分分别执行sudo make
sudo make
1.2.2、再次回到qt-everywhere-src-5.15.6目录,make,qtlocation编译通过。

问题2:编译qtmultimedia时make 被中断,提示gl/wayland/gstgldisplay_wayland.h:26:10: fatal error: wayland-client.h: No such file or directory

2.0、完全信息

/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/include/QtMultimediaWidgets/QCameraViewfinder /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/QCameraViewfinder
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/include/QtMultimediaWidgets/QGraphicsVideoItem /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/QGraphicsVideoItem
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/include/QtMultimediaWidgets/QVideoWidget /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/QVideoWidget
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/include/QtMultimediaWidgets/QVideoWidgetControl /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/QVideoWidgetControl
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/include/QtMultimediaWidgets/qtmultimediawidgetsversion.h /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/qtmultimediawidgetsversion.h
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/include/QtMultimediaWidgets/QtMultimediaWidgetsVersion /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/QtMultimediaWidgetsVersion
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/include/QtMultimediaWidgets/QtMultimediaWidgets /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/QtMultimediaWidgets
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/multimediawidgets/qcameraviewfinder.h /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/qcameraviewfinder.h
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/multimediawidgets/qgraphicsvideoitem.h /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/qgraphicsvideoitem.h
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/multimediawidgets/qtmultimediawidgetdefs.h /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/qtmultimediawidgetdefs.h
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/multimediawidgets/qvideowidget.h /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/qvideowidget.h
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/multimediawidgets/qvideowidgetcontrol.h /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/qvideowidgetcontrol.h
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/include/QtMultimediaWidgets/QtMultimediaWidgetsDepends /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/QtMultimediaWidgetsDepends
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/multimediawidgets/qpaintervideosurface_p.h /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/5.15.6/QtMultimediaWidgets/private/qpaintervideosurface_p.h
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/multimediawidgets/qvideowidget_p.h /opt/qt5.15.6_aarch64/include/QtMultimediaWidgets/5.15.6/QtMultimediaWidgets/private/qvideowidget_p.h
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/mkspecs/modules-inst/qt_lib_multimediawidgets.pri /opt/qt5.15.6_aarch64/mkspecs/modules/qt_lib_multimediawidgets.pri
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/mkspecs/modules-inst/qt_lib_multimediawidgets_private.pri /opt/qt5.15.6_aarch64/mkspecs/modules/qt_lib_multimediawidgets_private.pri
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/lib/cmake/Qt5MultimediaWidgets/Qt5MultimediaWidgetsConfig.cmake /opt/qt5.15.6_aarch64/lib/cmake/Qt5MultimediaWidgets/Qt5MultimediaWidgetsConfig.cmake
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -install qinstall /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/lib/cmake/Qt5MultimediaWidgets/Qt5MultimediaWidgetsConfigVersion.cmake /opt/qt5.15.6_aarch64/lib/cmake/Qt5MultimediaWidgets/Qt5MultimediaWidgetsConfigVersion.cmake
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/multimediawidgets'
cd gsttools/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/gsttools/gsttools.pro ) && make -f Makefile install
make[3]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/gsttools'
aarch64-linux-gnu-g++ -c -include .pch/Qt5MultimediaGstTools -pipe -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_MAKEDLL -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_MULTIMEDIAGSTTOOLS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_REENTRANT -I. -I../../include -I../../include/QtMultimediaGstTools -I../../include/QtMultimediaGstTools/5.15.6 -I../../include/QtMultimediaGstTools/5.15.6/QtMultimediaGstTools -I../../include/QtMultimedia/5.15.6 -I../../include/QtMultimedia/5.15.6/QtMultimedia -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtGui/5.15.6 -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtGui/5.15.6/QtGui -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtCore/5.15.6 -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtCore/5.15.6/QtCore -I../../include/QtMultimediaWidgets -I../../include/QtMultimedia -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtWidgets -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtGui -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtNetwork -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtCore -I.moc -I/usr/lib/aarch64-linux-gnu/gstreamer-1.0/include -I/usr/include/libdrm -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/mkspecs/linux-aarch64-gnu-g++ -o .obj/qgstvideorenderersink.o qgstvideorenderersink.cpp
In file included from qgstvideorenderersink.cpp:72:
/usr/include/gstreamer-1.0/gst/gl/wayland/gstgldisplay_wayland.h:26:10: fatal error: wayland-client.h: No such file or directory
   26 | #include <wayland-client.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:10254: .obj/qgstvideorenderersink.o] Error 1
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src/gsttools'
make[2]: *** [Makefile:166: sub-gsttools-install_subtargets] Error 2
make[2]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia/src'
make[1]: *** [Makefile:61: sub-src-install_subtargets] Error 2
make[1]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtmultimedia'
make: *** [Makefile:880: module-qtmultimedia-install_subtargets] Error 2

2.1、分析

查看make输出信息发现在编译QtMultimedia模块(多媒体功能)时,提示wayland-client.h 头文件缺失,这个头文件wayland客户端的文件,应该是libwayland库未安装

2.2、解决

2.2.0、按照文档Jetson Xavier NX套件 Ubuntu 源码编译安装Qt5.15.6中的“QtMultimedia相关依赖” 全部安装
2.2.1、在终端中输入
//输入后按tab键,补齐,就可以看到libwayland相关的库
sudo apt-get install libway
2.2.2、再次回到qt-everywhere-src-5.15.6目录,make,QtMultimedia编译通过。

问题3:编译qtvirtualkeyboard时make 被中断,提示/qtvirtualkeyboard/lib/libqtopenwnn.a: No such file or directory

3.0、完全信息

aarch64-linux-gnu-g++ -pipe -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -dM -E -o .moc/moc_predefs.h /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/mkspecs/features/data/dummy.cpp
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_VIRTUALKEYBOARD_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DHAVE_OPENWNN --include /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/src/plugins/openwnn/plugin/.moc/moc_predefs.h -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/mkspecs/linux-aarch64-gnu-g++ -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/src/plugins/openwnn/plugin -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/include/QtVirtualKeyboard -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQuick -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtGui -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQmlModels -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQml -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtNetwork -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtCore -I/usr/include/c++/9 -I/usr/include/aarch64-linux-gnu/c++/9 -I/usr/include/c++/9/backward -I/usr/lib/gcc/aarch64-linux-gnu/9/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include openwnnplugin.h -o .moc/moc_openwnnplugin.cpp
aarch64-linux-gnu-g++ -c -pipe -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_VIRTUALKEYBOARD_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DHAVE_OPENWNN -I. -I../../../../include -I../../../../include/QtVirtualKeyboard -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQuick -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtGui -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQmlModels -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQml -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtNetwork -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtCore -I.moc -I../3rdparty/openwnn/wnnEngine/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/mkspecs/linux-aarch64-gnu-g++ -o .obj/moc_openwnnplugin.o .moc/moc_openwnnplugin.cpp
/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_VIRTUALKEYBOARD_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DHAVE_OPENWNN --include /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/src/plugins/openwnn/plugin/.moc/moc_predefs.h -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/mkspecs/linux-aarch64-gnu-g++ -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/src/plugins/openwnn/plugin -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/include/QtVirtualKeyboard -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQuick -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtGui -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQmlModels -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQml -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtNetwork -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtCore -I/usr/include/c++/9 -I/usr/include/aarch64-linux-gnu/c++/9 -I/usr/include/c++/9/backward -I/usr/lib/gcc/aarch64-linux-gnu/9/include -I/usr/local/include -I/usr/include/aarch64-linux-gnu -I/usr/include openwnninputmethod_p.h -o .moc/moc_openwnninputmethod_p.cpp
aarch64-linux-gnu-g++ -c -pipe -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_VIRTUALKEYBOARD_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DHAVE_OPENWNN -I. -I../../../../include -I../../../../include/QtVirtualKeyboard -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQuick -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtGui -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQmlModels -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/include/QtQml -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtNetwork -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/include/QtCore -I.moc -I../3rdparty/openwnn/wnnEngine/include -I/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/mkspecs/linux-aarch64-gnu-g++ -o .obj/moc_openwnninputmethod_p.o .moc/moc_openwnninputmethod_p.cpp
rm -f libqtvirtualkeyboard_openwnn.so
aarch64-linux-gnu-g++ -Wl,--no-undefined -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,\$ORIGIN/../../lib -shared -o libqtvirtualkeyboard_openwnn.so .obj/openwnnplugin.o .obj/openwnninputmethod.o .obj/qrc_qmake_virtualkeyboard_openwnn_layouts.o .obj/moc_openwnnplugin.o .obj/moc_openwnninputmethod_p.o  /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/lib/libQt5VirtualKeyboard.so /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/lib/libQt5Quick.so /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/lib/libQt5Gui.so /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/lib/libQt5QmlModels.so /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtdeclarative/lib/libQt5Qml.so /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/lib/libQt5Network.so -lGL /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/lib/libqtopenwnn.a /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/lib/libQt5Core.so -lpthread    
aarch64-linux-gnu-g++: error: /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/lib/libqtopenwnn.a: No such file or directory
make[5]: *** [Makefile:91: ../../../../plugins/virtualkeyboard/libqtvirtualkeyboard_openwnn.so] Error 1
make[5]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/src/plugins/openwnn/plugin'
make[4]: *** [Makefile:85: sub-plugin-install_subtargets] Error 2
make[4]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/src/plugins/openwnn'
make[3]: *** [Makefile:88: sub-openwnn-install_subtargets] Error 2
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/src/plugins'
make[2]: *** [Makefile:189: sub-plugins-install_subtargets] Error 2
make[2]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard/src'
make[1]: *** [Makefile:61: sub-src-install_subtargets] Error 2
make[1]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtvirtualkeyboard'
make: *** [Makefile:936: module-qtvirtualkeyboard-install_subtargets] Error 2

3.1、分析

查看make输出信息发现在编译Qtvirtualkeyboard模块(软键盘功能)时,需要libqtopenwnn.a,这个文件是编译时就会生成的,所以进入qtvirtualkeyboard目录手动make一次就行。

3.2、解决

3.2.0、进入qtvirtualkeyboard目录
//进入对应目录,sudo make
cd ./qtvirtualkeyboard
3.2.1、手动编译
//在上述目录中执行sudo make
sudo make
3.2.2、再次回到qt-everywhere-src-5.15.6目录,make install,qtvirtualkeyboard安装通过。

问题4:安装qtwebengine时中断,提示/QtWebEngineCore.stamp’, needed by ‘…/…/lib/libQt5WebEngineCore.so.5.15.6’. Stop.

4.0、完全信息

4.1、分析

查看make输出信息发现在编译Qtwebengine模块(网页浏览功能)时,需要libQt5WebEngineCore.so.5.15.6,这个文件是编译完全时就会生成的,所以进入qtwebengine目录手动make一次就行。

4.2、解决

4.2.0、进入qtwebengine目录
//进入对应目录,sudo make
cd ./qtwebengine
4.2.1、手动编译 内存不够的原因这个位置编译超级慢,要等很久
//在上述目录中执行sudo make   
sudo make -j6
4.2.2、再次回到qt-everywhere-src-5.15.6目录,make install,qtwebengine安装通过。

问题5:编译qtwebengine时中断,提示ninja: build stopped: subcommand failed. [Makefile.gn_run:1189: run_ninja] Error 1

5.0、完全信息

/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen -I../../3rdparty/chromium/third_party/libyuv/include -I../../3rdparty/chromium/third_party/jsoncpp/source/include -I../../3rdparty/chromium/third_party/libwebp/src -I../../3rdparty/chromium/third_party/vulkan_headers/include -I../../3rdparty/chromium/third_party/khronos -I../../3rdparty/chromium/gpu -Igen/third_party/dawn/src/include -I../../3rdparty/chromium/third_party/dawn/src/include -I../../3rdparty/chromium/third_party/abseil-cpp -I../../3rdparty/chromium/third_party/boringssl/src/include -I../../3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../3rdparty/chromium/third_party/ced/src -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -I../../3rdparty/chromium/third_party/protobuf/src -I../../3rdparty/chromium/third_party/webrtc_overrides -I../../3rdparty/chromium/third_party/webrtc -Igen/third_party/webrtc -I../../3rdparty/chromium/third_party/skia -I../../3rdparty/chromium/third_party/libgifcodec -I../../3rdparty/chromium/third_party/vulkan/include -I../../3rdparty/chromium/third_party/vulkan_headers/include -I../../3rdparty/chromium/third_party/crashpad/crashpad -I../../3rdparty/chromium/third_party/crashpad/crashpad/compat/non_mac -I../../3rdparty/chromium/third_party/crashpad/crashpad/compat/linux -I../../3rdparty/chromium/third_party/crashpad/crashpad/compat/non_win -I../../3rdparty/chromium/third_party/zlib -I../../3rdparty/chromium/third_party/mesa_headers -I../../3rdparty/chromium/third_party/libwebm/source -I../../3rdparty/chromium/third_party/leveldatabase -I../../3rdparty/chromium/third_party/leveldatabase/src -I../../3rdparty/chromium/third_party/leveldatabase/src/include -I../../3rdparty/chromium/v8/include -Igen/v8/include -Igen -Igen -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -I/usr/include/nss -I/usr/include/nspr -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -c ../../3rdparty/chromium/extensions/browser/api/messaging/message_service.cc -o obj/extensions/browser/api/messaging/messaging/message_service.o
[17920/21422] /usr/bin/aarch64-linux-gnu-g++ -MMD -MF obj/third_party/blink/renderer/modules/webdatabase/webdatabase/webdatabase_jumbo_3.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_MODULES_IMPLEMENTATION=1 -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DWEBP_EXTERN=extern -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DWEBRTC_USE_X11 -DHAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DSUPPORT_WEBGL2_COMPUTE_CONTEXT=1 -DWTF_USE_WEBAUDIO_PFFFT=1 -DUSE_BLINK_V8_BINDING_NEW_IDL_INTERFACE -DUSE_LIBJPEG_TURBO=1 -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DSQLITE_OMIT_ANALYZE -DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTOMATIC_INDEX -DSQLITE_OMIT_AUTORESET -DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN -DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_INTROSPECTION_PRAGMAS -DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3 -DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED -DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1 -DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_LOCKING_MODE=1 -DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3 -DSQLITE_ENABLE_LOCKING_STYLE=0 -I. -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen -I../../3rdparty/chromium/third_party/libyuv/include -I../../3rdparty/chromium/third_party/jsoncpp/source/include -I../../3rdparty/chromium/third_party/libwebp/src -I../../3rdparty/chromium/third_party/vulkan_headers/include -I../../3rdparty/chromium/third_party/khronos -I../../3rdparty/chromium/gpu -Igen/third_party/dawn/src/include -I../../3rdparty/chromium/third_party/dawn/src/include -I../../3rdparty/chromium/third_party/abseil-cpp -I../../3rdparty/chromium/third_party/boringssl/src/include -I../../3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../3rdparty/chromium/third_party/ced/src -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -I../../3rdparty/chromium/third_party/webrtc_overrides -I../../3rdparty/chromium/third_party/webrtc -Igen/third_party/webrtc -I../../3rdparty/chromium/third_party/protobuf/src -I../../3rdparty/chromium/third_party/skia -I../../3rdparty/chromium/third_party/libgifcodec -I../../3rdparty/chromium/third_party/vulkan/include -I../../3rdparty/chromium/third_party/vulkan_headers/include -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/v8/include -Igen/v8/include -I../../3rdparty/chromium/third_party/crashpad/crashpad -I../../3rdparty/chromium/third_party/crashpad/crashpad/compat/non_mac -I../../3rdparty/chromium/third_party/crashpad/crashpad/compat/linux -I../../3rdparty/chromium/third_party/crashpad/crashpad/compat/non_win -I../../3rdparty/chromium/third_party/zlib -I../../3rdparty/chromium/third_party/mesa_headers -I../../3rdparty/chromium/third_party/libwebm/source -I../../3rdparty/chromium/third_party/leveldatabase -I../../3rdparty/chromium/third_party/leveldatabase/src -I../../3rdparty/chromium/third_party/leveldatabase/src/include -I../../3rdparty/chromium/third_party/libjpeg_turbo -I../../3rdparty/chromium/third_party/iccjpeg -I../../3rdparty/chromium/third_party/libpng -I../../3rdparty/chromium/third_party/ots/include -I../../3rdparty/chromium/v8/include -Igen/v8/include -I../../3rdparty/chromium/third_party/snappy/src -I../../3rdparty/chromium/third_party/snappy/linux -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -Wno-unused-variable -g0 -O2 -fno-ident -fdata-sections -ffunction-sections -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libxml2 -I/usr/include/libxml2 -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -c gen/third_party/blink/renderer/modules/webdatabase/webdatabase_jumbo_3.cc -o obj/third_party/blink/renderer/modules/webdatabase/webdatabase/webdatabase_jumbo_3.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:1189: run_ninja] Error 1
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtwebengine/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtwebengine/src/core'
make[1]: *** [Makefile:80: sub-core-make_first] Error 2
make[1]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qtwebengine/src'
make: *** [Makefile:49: sub-src-make_first] Error 2

5.1、分析

查看make输出信息发现在编译QtMultimedia模块(多媒体功能)时,提示wayland-client.h 头文件缺失,这个头文件wayland客户端的文件,应该是libwayland库未安装

5.2、解决

5.2.0、按照文档Jetson Xavier NX套件 Ubuntu 源码编译安装Qt5.15.6中的“交换空间分配”执行。
//注意,未完成编译和安装之前,每次重启系统后都要
sudo swapon /swapfile
5.2.2、再次回到qt-everywhere-src-5.15.6目录,make ,qtwebengine编译通过。

sudo make -j6 完成后,全部编译后没有任何错误信息

k3d/imports/animation'
make[4]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/src/plugins/renderplugins/scene2d'
make[4]: Nothing to be done for 'first'.
make[4]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/src/plugins/renderplugins/scene2d'
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/src/plugins/renderplugins'
make[2]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/src'
cd tools/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/tools/tools.pro ) && make -f Makefile 
make[2]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/tools'
cd qgltf/ && ( test -e Makefile || /opt/qt5.15.6/qt-everywhere-src-5.15.6/qtbase/bin/qmake -o Makefile /opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/tools/qgltf/qgltf.pro ) && make -f Makefile 
make[3]: Entering directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/tools/qgltf'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/tools/qgltf'
make[2]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d/tools'
make[1]: Leaving directory '/opt/qt5.15.6/qt-everywhere-src-5.15.6/qt3d'

OK!
至此,问题解决。欢迎留言交流

硬件:Jetson Xavier NX 套件系统:Ubuntu 20.4软件 :QT5.15.6问题0:configure 提示 QtWebEngine will not be built(不编译)0.0、完全信息0.1、分析查看配置输出信息发现必要的 “qpa-xcb” 库未发现,而前面提示要求的“xkbfile ”库的状态是“no”问题1:编译qtlocation时make 被中断,提示/usr/bin/ld: cannot find -lqt_clip2tri、-lqt_poly2t
好的,我会尽力用文帮助你解决 QT 安装过程遇到问题。首先,在开始安装之前,你应该确保你的电脑已经安装了正确版本的操作系统,并且已经安装了所有必要的驱动程序和软件。 如果你在安装过程遇到问题,那么最常见的原因可能是因为你的电脑系统环境不支持 QT,或者是因为你下载的 QT 安装包已损坏。 在这种情况下,你可以尝试重新下载 QT 安装包,并确保下载的文件是完整的。你也可以尝试检查你的电脑系...
安装qt5.10.1时遇到安装进程(qt.tools.perl)运行期间出现错误” **问题描述:**在安装qt5.10.1的过程出现遇到意外错误导致安装暂停,并出现以下提示: 解决办法: 首先别将该弹窗关闭,出现该问题的原因是安装程序没找到目标路径下的文件,既然安装程序无法完成,我们就代其手动安装,只需要根据弹窗给出的路径提示依次找到下面这个程序,在手动安装成功后点击ignore即可: 点击选选项I accept...,然后点击next: 这里可以自定义路径,然后next:
安装qt过程出现这个错误: 安装过程出现错((tols,qtcreator)提取存档"installer://qt.tools.qtcreator/4.10.0-0qtcreator.7z"时出错:无法打开文件"C:\Qt\qtcreator-4.10.0\share\qtcreator\templates\wizards\files\scratch/file.txt"进行写入:拒绝访问。 ......
1.下载Qt 源码 http://download.qt.io/archive/qt/5.12/5.12.8/single/ 在安装时也有源码,最好使用single文件里的源码 2.安装交叉编译器 注:笔者的板子是aarch64, 所以用了 aarch64-linux-gnu 根据不同的板子使用不同的交叉编译器工具 ##安装 g++-aarch64-linux-gnu 交叉编译器 $sudo apt install g++-aarch64-linux-gnu #安装 $aarch
本篇主要讲述基于frame buffer的qt交叉编译,可直接用于服务器版本linux(无Desktop),大大降低了空间使用率和资源使用率。参考自网上许多文章,大多不记得链接了,主要参考在文章末尾注明,有兴趣的可点击查看。 一、环境说明 -PC系统:ubuntu14.04 LTS x86 - 编译器:gcc-linaro-arm-linux-gnueabihf4.9 (arm-li...