Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngine will not be built. Platform unsupported
Forum Updated to NodeBB v4.3 + New Features

QtWebEngine will not be built. Platform unsupported

Scheduled Pinned Locked Moved Solved QtWebEngine
7 Posts 4 Posters 4.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • HupeH Offline
    HupeH Offline
    Hupe
    wrote on last edited by
    #1

    I am cross-compiling Qt for ARM board. My source file is Qt 5.14.1 and tool chain is gcc-linaro-5.3.1.
    This is my configuration :

    #!/bin/bash
    
    ./configure \
            -v \
            -prefix /opt/Qt5.14 \
            -opensource \
            -confirm-license \
            -debug \
            -release \
            -shared \
            -strip \
            -qreal float \
            -make libs \
            -make tools \
            -xplatform linux-arm-gnueabihf-g++ \
            -pch \
            -no-sse2 \
            -no-sse3 \
            -no-rpath \
            -no-tslib \
            -no-opengl \
            -no-cups \
            -qt-zlib \
            -widgets \
            -skip qt3d \
            -skip qtcanvas3d \
            -nomake examples \
            -no-use-gold-linker \
    
    

    But it shows as below after run ./configure:

    Note: Overriding option 'debug' with 'no' (was: 'yes')
    
    Note: Also available for Linux: linux-clang linux-icc
    
    Note: QtSerialBus: Cannot find linux/can.h and linux/can/raw.h Linux headers for socketCAN support.
    
    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: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
    
    Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation.
    On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
    On macOS, you can use Homebrew's llvm package.
    On Windows, you must set LLVM_INSTALL_DIR to the installation path.
    
    WARNING: QtWebEngine will not be built. Platform unsupported.
    
    WARNING: QtWebEngine will not be built.
    
    WARNING: QtPdf will not be built.
    
    

    What does 'Platform unsupported' mean ? Is there any tutorial for cross-compiling Qt with qtwebengine?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Silly question: are you sure you need QtWebEngine? If not, then you can just continue.

      If you want to know why a platform is disabled, look through verbose output of configure - it will print a message when some build condition is not satisfied. Also, this document lists exact requirements an quirks of that module.

      (Z(:^

      HupeH 1 Reply Last reply
      1
      • sierdzioS sierdzio

        Silly question: are you sure you need QtWebEngine? If not, then you can just continue.

        If you want to know why a platform is disabled, look through verbose output of configure - it will print a message when some build condition is not satisfied. Also, this document lists exact requirements an quirks of that module.

        HupeH Offline
        HupeH Offline
        Hupe
        wrote on last edited by
        #3

        @sierdzio
        Sorry to bother. I do need QtWebEngine.
        I found that pkg-config is needed to compile qtwebengine. But I encountered 'Cross compiling without sysroot. Disabling pkg-config' when I appended -pkg-config to ./configure. Is sysroot indispensable to cross compile qtwebengine? If so, does it mean that I need to mount the rootfs of my ARM board to host computer and cross compile all dependencies to that sysroot to get Qt with qtwebengine for ARM?

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          I don't know to be honest. I've never cross-compiled the web engine.

          (Z(:^

          HupeH 1 Reply Last reply
          0
          • sierdzioS sierdzio

            I don't know to be honest. I've never cross-compiled the web engine.

            HupeH Offline
            HupeH Offline
            Hupe
            wrote on last edited by
            #5

            @sierdzio
            Ok, Thanks. ;)

            1 Reply Last reply
            0
            • T Offline
              T Offline
              Thcale_yang
              wrote on last edited by
              #6

              QtWebEngine mainly supports x86 and ARM architectures. The LoongArch 3A5000 processor is based on the Loongarch architecture, which is a CPU architecture independently developed by Loongarch. Since this architecture is different from the x86 and ARM architectures, there may be compatibility issues.
              QtWebEngine is based on Chromium, and Chromium's cross-platform features focus on x86, x86-64, ARM, and ARM64 architectures. If Chromium does not provide support for the LoongArch architecture, then QtWebEngine may not be directly available on the Loongarch 3A5000.

              jsulmJ 1 Reply Last reply
              0
              • T Thcale_yang

                QtWebEngine mainly supports x86 and ARM architectures. The LoongArch 3A5000 processor is based on the Loongarch architecture, which is a CPU architecture independently developed by Loongarch. Since this architecture is different from the x86 and ARM architectures, there may be compatibility issues.
                QtWebEngine is based on Chromium, and Chromium's cross-platform features focus on x86, x86-64, ARM, and ARM64 architectures. If Chromium does not provide support for the LoongArch architecture, then QtWebEngine may not be directly available on the Loongarch 3A5000.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Thcale_yang said in QtWebEngine will not be built. Platform unsupported:

                LoongArch 3A5000

                Nobody was asking anything about this architecture. This thread is about QtWebEngine on ARM.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved