Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt5.9 5 Webengine on ARM cross compile.
Forum Updated to NodeBB v4.3 + New Features

Qt5.9 5 Webengine on ARM cross compile.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 475 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.
  • liscoL Offline
    liscoL Offline
    lisco
    wrote on last edited by lisco
    #1

    I can't cross-compile the webengine Qt 5.9.5 component for nanoPiNeo. On desktop, webengine is build.
    It comes something that detects arm as if on Android, but it's not Android and its flag is not set. ...
    Nothing is Googled.

    Where can I to know which configure string been using to build Qt embedded to Armbian? Or pathes of sources too if any.

    I'm trying to cross build Qt and getting errors like

    ERROR at //build/config/android/internal_rules.gni:11:1: Assertion failed.
    assert(is_android)
    ^-----
    See //build/config/android/rules.gni:8:1: whence it was imported.
    import("//build/config/android/internal_rules.gni")
    ^-------------------------------------------------
    See //third_party/android_tools/BUILD.gn:5:1: whence it was imported.
    import("//build/config/android/rules.gni")
    ^----------------------------------------
    See //third_party/openmax_dl/dl/BUILD.gn:199:16: which caused the file to be included.
          deps = [ "//third_party/android_tools:cpu_features" ]
                   ^-----------------------------------------
    Project ERROR: GN run error!

    Axel SpoerlA 1 Reply Last reply
    0
    • liscoL lisco

      I can't cross-compile the webengine Qt 5.9.5 component for nanoPiNeo. On desktop, webengine is build.
      It comes something that detects arm as if on Android, but it's not Android and its flag is not set. ...
      Nothing is Googled.

      Where can I to know which configure string been using to build Qt embedded to Armbian? Or pathes of sources too if any.

      I'm trying to cross build Qt and getting errors like

      ERROR at //build/config/android/internal_rules.gni:11:1: Assertion failed.
      assert(is_android)
      ^-----
      See //build/config/android/rules.gni:8:1: whence it was imported.
      import("//build/config/android/internal_rules.gni")
      ^-------------------------------------------------
      See //third_party/android_tools/BUILD.gn:5:1: whence it was imported.
      import("//build/config/android/rules.gni")
      ^----------------------------------------
      See //third_party/openmax_dl/dl/BUILD.gn:199:16: which caused the file to be included.
            deps = [ "//third_party/android_tools:cpu_features" ]
                     ^-----------------------------------------
      Project ERROR: GN run error!

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      @lisco
      Hard, if not impossible, to say what's wrong here.
      Qt 5.9.5 went out of support years ago.
      Can you try with Qt 6.5 ?

      Software Engineer
      The Qt Company, Oslo

      liscoL 1 Reply Last reply
      0
      • Axel SpoerlA Axel Spoerl

        @lisco
        Hard, if not impossible, to say what's wrong here.
        Qt 5.9.5 went out of support years ago.
        Can you try with Qt 6.5 ?

        liscoL Offline
        liscoL Offline
        lisco
        wrote on last edited by lisco
        #3

        @Axel-Spoerl

        Configure string is here.

        mkdir -vp xARM-build
        cd xARM-build
        ../qt-everywhere-opensource-src-5.9.5/configure
        -release
        -device-option CROSS_COMPILE=$CROSSCOMPILER
        -device-option DISTRO_OPTS="hard-float"
        -device linux-arm-generic-g++
        -sysroot $SYSROOT
        -opensource -confirm-license
        -nomake examples
        -nomake tests
        -no-openssl
        -skip qtwayland
        -skip qtconnectivity
        -printing-and-pdf -alsa
        -webengine-icu
        -no-opus
        -pepper-plugins
        -no-pch
        -recheck

        6.5 is not in our interests.
        If only to test build to compare with above.
        But sysroot is old too, it is Ubuntu 18.04.

        but shouldn't any version of Qt with Webengine compile on any platform?

        Compiling without Webengine is successful.

        Axel SpoerlA 1 Reply Last reply
        0
        • liscoL lisco

          @Axel-Spoerl

          Configure string is here.

          mkdir -vp xARM-build
          cd xARM-build
          ../qt-everywhere-opensource-src-5.9.5/configure
          -release
          -device-option CROSS_COMPILE=$CROSSCOMPILER
          -device-option DISTRO_OPTS="hard-float"
          -device linux-arm-generic-g++
          -sysroot $SYSROOT
          -opensource -confirm-license
          -nomake examples
          -nomake tests
          -no-openssl
          -skip qtwayland
          -skip qtconnectivity
          -printing-and-pdf -alsa
          -webengine-icu
          -no-opus
          -pepper-plugins
          -no-pch
          -recheck

          6.5 is not in our interests.
          If only to test build to compare with above.
          But sysroot is old too, it is Ubuntu 18.04.

          but shouldn't any version of Qt with Webengine compile on any platform?

          Compiling without Webengine is successful.

          Axel SpoerlA Offline
          Axel SpoerlA Offline
          Axel Spoerl
          Moderators
          wrote on last edited by
          #4

          @lisco
          Webengine ships a lot of 3rd party libraries and there are dependencies with the host OS.
          If it's a bug in webengine, it won't be fixed in 5.9.5.
          And unless somebody is still developing on 5.9.5, there's hardly anybody out there to help you debug.
          With an EOL version, your pretty much on your own.

          Software Engineer
          The Qt Company, Oslo

          liscoL 1 Reply Last reply
          0
          • Axel SpoerlA Axel Spoerl

            @lisco
            Webengine ships a lot of 3rd party libraries and there are dependencies with the host OS.
            If it's a bug in webengine, it won't be fixed in 5.9.5.
            And unless somebody is still developing on 5.9.5, there's hardly anybody out there to help you debug.
            With an EOL version, your pretty much on your own.

            liscoL Offline
            liscoL Offline
            lisco
            wrote on last edited by
            #5

            @Axel-Spoerl
            Armbian Ubuntu 18.04 contents packages of Qt 5.9.5 and Webengine. I would want to compile too by cross compiler.

            Axel SpoerlA 1 Reply Last reply
            0
            • liscoL lisco

              @Axel-Spoerl
              Armbian Ubuntu 18.04 contents packages of Qt 5.9.5 and Webengine. I would want to compile too by cross compiler.

              Axel SpoerlA Offline
              Axel SpoerlA Offline
              Axel Spoerl
              Moderators
              wrote on last edited by
              #6

              @lisco
              As said before: EOL, can't help you even if I would love to.

              Software Engineer
              The Qt Company, Oslo

              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