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

Interfaceframework examples not compiling on stm32mp15-disco on arm Linux

XMLWordPrintable

      Device:

      stm32mp15-disco (Linux on arm)

      Steps to reproduce:

      Install B2Qt 6.9.2 stm32mp15-disco image and toolchain

      Try to build interfaceframework applications with:

       /home/qt/RTA/B2Qt_6.9.2/6.9.2/Boot2Qt/stm32mp15-disco/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/qt-cmake
       -GNinja CMakeLists.txt -B build
      cmake --build build --parallel
      cmake --install build --prefix /home/qt/RTA/usr --config Debug

      Expected result:

      Interfaceframework applications build

      Actual result:

      Interfaceframework applications fails to build:

       -- Using installed ifcodegen templates found at: /home/qt/RTA/B2Qt_6.9.2/6.9.2/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/share/ifcodegen-templates
      -- Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter) 
          Reason given by package: 
              Interpreter: Cannot use the interpreter "/home/qt/RTA/B2Qt_6.9.2/6.9.2/Boot2Qt/stm32mp15-disco/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/python3.10"
      CMake Error at /home/qt/RTA/B2Qt_6.9.2/6.9.2/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:486 (message):
        Python3 needs to be available to use the ifcodegen.
      Call Stack (most recent call first):
        /home/qt/RTA/B2Qt_6.9.2/6.9.2/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:145 (qt6_ifcodegen_generate)
        /home/qt/RTA/B2Qt_6.9.2/6.9.2/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:642 (internal_ifcodegen_import)
        /home/qt/RTA/B2Qt_6.9.2/6.9.2/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:756 (qt6_ifcodegen_import_variables)
        /home/qt/RTA/B2Qt_6.9.2/6.9.2/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/lib/cmake/Qt6InterfaceFramework/Qt6InterfaceFrameworkMacros.cmake:786 (qt6_ifcodegen_add_qml_module)
        CMakeLists.txt:33 (qt_ifcodegen_add_qml_module)

      Note! Does not reproduce on other target devices and does not reproduce on Linux x64.

       

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

            sapiippo Samuli Piippo
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes