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

Ndef editor example cross-compiling on Windows to Boot2Qt fails

    XMLWordPrintable

Details

    • 2
    • Foundation Sprint 127

    Description

      Compiling fails on windows. "Compile Output"

      Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/lib/libQt6Network.so.6.9.0  C:/Users/Qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/lib/libQt6OpenGL.so.6.9.0  C:/Users/Qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/lib/libQt6Gui.so.6.9.0  C:/Users/Qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/lib/libGLESv2.so  C:/Users/Qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/lib/libEGL.so  C:/Users/Qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/cortexa53-poky-linux/usr/lib/libQt6Core.so.6.9.0 && cd ."
      C:/Users/Qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/raspberrypi-armv8/toolchain/sysroots/x86_64-w64-mingw32/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/14.2.0/ld.exe: cannot open output file ndefeditor: Permission denied
      collect2.exe: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed.
      12:37:01: The process "C:\Users\Qt\RTA\B2Qt_6.9.0\6.9.0\Boot2Qt\raspberrypi-armv8\toolchain\sysroots\x86_64-w64-mingw32\usr\bin\cmake.exe" exited with code 1.
      12:37:01: Error while building/deploying project ndefeditor (kit: Boot2Qt 6.9.0 Raspberry Pi Development Boards (64bit))
      12:37:01: The kit Boot2Qt 6.9.0 Raspberry Pi Development Boards (64bit) has configuration issues which might be the root cause for this problem.
      12:37:01: When executing step "Build"
      12:37:01: Elapsed time: 00:06. 

      Proposed solution would be addition after qt_add_executable function, similarly than on some other examples:

      set_target_properties(ndefeditor PROPERTIES
          # Prevent name clash with build subdirectory on case-insensitive file systems
          OUTPUT_NAME ndefeditorapp
      ) 

       

      Attachments

        Issue Links

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

          Activity

            People

              ivan.solovev Ivan Solovev
              julaakko Juho Lääkkö
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes