Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27343

Deploying a cmake based application fails on rpi4 boot to qt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 6.0.2
    • Boot2Qt Support
    • None
    • Boot to Qt Rpi 4 6.2.4
    • Windows

    Description

      Summary:  Cmake based projects from both DS and QtC fail to deploy onto the rpi4 boot to qt target.

      Steps: 

      • Create a new blank project in qt creator (my project is attached)
      • Select the rpi4 boot to qt kit
      • The project will configure and build just fine
      • When the deploy to device step happens an error occurs:

      12:09:53: Running steps for project DeleteMe...
      12:09:53: Starting: "C:\Qt\6.2.4\Boot2Qt\raspberrypi4-64\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe" --build C:/projects/build-DeleteMe-Boot2Qt_6_2_4_Raspberry_Pi_4_64_bit-Debug --target all
      [1/6 0.4/sec] Automatic MOC and UIC for target DeleteMe
      [2/6 0.5/sec] Automatic RCC for qml.qrc
      [3/6 0.4/sec] Building CXX object CMakeFiles/DeleteMe.dir/DeleteMe_autogen/mocs_compilation.cpp.o
      [4/6 0.5/sec] Building CXX object CMakeFiles/DeleteMe.dir/DeleteMe_autogen/EWIEGA46WW/qrc_qml.cpp.o
      [5/6 0.6/sec] Building CXX object CMakeFiles/DeleteMe.dir/main.cpp.o
      [6/6 0.5/sec] Linking CXX executable DeleteMe
      12:10:06: The process "C:\Qt\6.2.4\Boot2Qt\raspberrypi4-64\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe" exited normally.
      12:10:06: Starting: "C:\Qt\6.2.4\Boot2Qt\raspberrypi4-64\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe" --build C:/projects/build-DeleteMe-Boot2Qt_6_2_4_Raspberry_Pi_4_64_bit-Debug --target install
      ninja: error: unknown target 'install'
      12:10:07: The process "C:\Qt\6.2.4\Boot2Qt\raspberrypi4-64\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe" exited with code 1.
      Error while building/deploying project DeleteMe (kit: Boot2Qt 6.2.4 Raspberry Pi 4 64-bit)
      The kit Boot2Qt 6.2.4 Raspberry Pi 4 64-bit has configuration issues which might be the root cause for this problem.
      When executing step "Install into temporary host directory"
      12:10:07: Elapsed time: 00:15.

      Attachments

        Activity

          People

            sapiippo Samuli Piippo
            tfouts Taylor Fouts
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: