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

[Boot to Qt] Interfaceframework application fail to build with stm32mp15-disco

XMLWordPrintable

      Boot to Qt 6.9.3 stm32mp15-disco (meta-qt6 SHA1: be7fddeb123706f9ef428e1248e9bfa3c0ba3953)

      Steps to reproduce:

      Install stm32mp15-disco Boot to Qt 6.9.3 image

      Setup the device and build interfaceframework example (one of interfaceframework/addressbook, climate, remote or qface-tutorial)

      Expected result:

      Examples build without errors

      Actual result:

      Building example with:

      /home/qt/RTA/B2Qt_6.9.3/6.9.3/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 

      Examples fail to build with:

       + /home/qt/RTA/B2Qt_6.9.3/6.9.3/Boot2Qt/stm32mp15-disco/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/qt-cmake -GNinja CMakeLists.txt -B build
      -- The CXX compiler identification is GNU 11.5.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /home/qt/RTA/B2Qt_6.9.3/6.9.3/Boot2Qt/stm32mp15-disco/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Looking for C++ include pthread.h
      -- Looking for C++ include pthread.h - found
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE  
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE  
      -- Performing Test HAVE_EGL
      -- Performing Test HAVE_EGL - Success
      -- Found EGL: /home/qt/RTA/B2Qt_6.9.3/6.9.3/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/include (found version "1.5") 
      -- Performing Test HAVE_GLESv2
      -- Performing Test HAVE_GLESv2 - Success
      -- Found GLESv2: /home/qt/RTA/B2Qt_6.9.3/6.9.3/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/include  
      -- Found WrapVulkanHeaders: /home/qt/RTA/B2Qt_6.9.3/6.9.3/Boot2Qt/stm32mp15-disco/toolchain/sysroots/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/usr/include  
      -- Using host ifcodegen found at: /home/qt/RTA/B2Qt_6.9.3/6.9.3/Boot2Qt/stm32mp15-disco/toolchain/sysroots/aarch64-pokysdk-linux/usr/libexec/ifcodegen
      -- Using installed ifcodegen templates found at: /home/qt/RTA/B2Qt_6.9.3/6.9.3/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.3/6.9.3/Boot2Qt/stm32mp15-disco/toolchain/sysroots/aarch64-pokysdk-linux/usr/bin/python3.10"CMake Error at /home/qt/RTA/B2Qt_6.9.3/6.9.3/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.3/6.9.3/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.3/6.9.3/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.3/6.9.3/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.3/6.9.3/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)-- Configuring incomplete, errors occurred! 

        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