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

CMake project cannot deploy to boot2qt target

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.15.12
    • 5.15
    • Device Creation
    • None
    • Windows

    Description

      Error:

      17:25:34: Remote chmod failed for file "/Program Files (x86)/untitled13/bin/untitled13": chmod: cannot access ''\''/Program Files (x86)/untitled13/bin/untitled13'\''': No such file or directory
      
      17:25:34: Failed to retrieve remote timestamp for file "/Program Files (x86)/untitled13/bin/untitled13". Incremental deployment will not work. Error message was: "stat" failed with exit code 1: stat: cannot statx ''\''/Program Files (x86)/untitled13/bin/untitled13'\''': No such file or directory
      

      change

      install(TARGETS untitled13
          BUNDLE DESTINATION .
          LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
      

      to

      install(TARGETS untitled13 DESTINATION /opt)
      

      can fix this

      Attachments

        Activity

          People

            sapiippo Samuli Piippo
            jiu shanheng jiu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: