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

Building a Qt Application Manager Example with Boot2Qt toolchain failed

    XMLWordPrintable

Details

    • Linux/Yocto, Windows
    • 135472ba2 (dev), 06ae101c9 (6.7), c4676654f (tqtc/lts-6.5)

    Description

      Build environment:

      • Windows 10
      • Qt Creator 13.0.0
      • Boot2Qt 6.7.0 for NXP iMX8M Quad EVK

      Steps to reproduce:

      • Launch Qt Creator 
      • Open the hello-world application located in <Qt_installation_dir>\Examples\Qt-6.7.0\applicationmanager with Boot2Qt 6.7.0 NXP iMX8M Quad EVK kit selected
      • Make a debug build

      The detail of the error is as follows:

       

      11:10:15: Running steps for project hello-world...
      11:10:15: Starting: "C:\Qt\6.7.0\Boot2Qt\imx8mq-evk\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe" --build C:/Qt/Examples/Qt-6.7.0/applicationmanager/hello-world/build/Boot2Qt_6_7_0_NXP_i_MX_8MQuad_EVK-Debug --target all install
      [1/15 6.8/sec] Copying file: apps/hello-world.blue/icon.png
      [2/15 13.5/sec] Copying file: apps/hello-world.blue/info.yaml
      [3/15 19.7/sec] Copying file: apps/hello-world.blue/main.qml
      [4/15 25.5/sec] Copying file: apps/hello-world.green/icon.png
      [5/15 31.4/sec] Copying file: apps/hello-world.green/info.yaml
      [6/15 36.4/sec] Copying file: apps/hello-world.green/main.qml
      [7/15 42.4/sec] Copying file: apps/hello-world.red/icon.png
      [8/15 47.6/sec] Copying file: apps/hello-world.red/main.qml
      [9/15 53.6/sec] Copying file: apps/hello-world.red/info.yaml
      [10/15 59.2/sec] Copying file: system-ui.qml
      [11/15 25.5/sec] Automatic MOC and UIC for target hello-world
      [12/15 24.6/sec] Building CXX object CMakeFiles/hello-world.dir/wrapper.cpp.o
      [13/15 26.6/sec] Building CXX object CMakeFiles/hello-world.dir/hello-world_autogen/mocs_compilation.cpp.o
      [14/15 23.4/sec] Linking CXX executable hello-world.sh
      FAILED: hello-world.sh 
      cmd.exe /C "cd . && C:\Qt\6.7.0\Boot2Qt\imx8mq-evk\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\aarch64-poky-linux\aarch64-poky-linux-g++.exe --sysroot=C:/Qt/6.7.0/Boot2Qt/imx8mq-evk/toolchain/sysroots/cortexa53-crypto-poky-linux -mcpu=cortex-a53 -march=armv8-a+crc+crypto -mbranch-protection=standard -fstack-protector-strong   -Wformat -Wformat-security -Werror=format-security --sysroot=C:/Qt/6.7.0/Boot2Qt/imx8mq-evk/toolchain/sysroots/cortexa53-crypto-poky-linux -g -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -Wl,-z,relro,-z,now CMakeFiles/hello-world.dir/hello-world_autogen/mocs_compilation.cpp.o CMakeFiles/hello-world.dir/wrapper.cpp.o -o hello-world.sh   && cmd.exe /C "cd /D C:\Qt\Examples\Qt-6.7.0\applicationmanager\hello-world\build\Boot2Qt_6_7_0_NXP_i_MX_8MQuad_EVK-Debug && chmod +x _hello-worldDebug.sh && C:\Qt\6.7.0\Boot2Qt\imx8mq-evk\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe -E copy _hello-worldDebug.sh hello-world.sh""
      'chmod' is not recognized as an internal or external command,
      operable program or batch file.
      ninja: build stopped: subcommand failed.
      11:10:15: The process "C:\Qt\6.7.0\Boot2Qt\imx8mq-evk\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe" exited with code 1.
      Error while building/deploying project hello-world (kit: Boot2Qt 6.7.0 NXP i.MX 8MQuad EVK)
      When executing step "Build"
      11:10:15: Elapsed time: 00:01. 

       

       

      Attachments

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

        Activity

          People

            rgriebl Robert Griebl
            dongmei Dongmei Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes