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

CMake remote deploy fails when install directory starts with . (dot)

    XMLWordPrintable

Details

    • Linux/X11
    • 95e360acc0b2843d0bcecb7b653d5f2cd989eb99 (qt-creator/qt-creator/4.11)

    Description

      cmake_minimum_required(VERSION 3.5)
      
      project(qtdeploytest LANGUAGES CXX)
      
      set(CMAKE_CXX_STANDARD 11)
      set(CMAKE_CXX_STANDARD_REQUIRED ON)
      
      add_executable(qtdeploytest main.cpp)
      
      install(TARGETS qtdeploytest DESTINATION .bin)
      

      Without '.' before 'bin' it will work fine, but if dot is at the beginning, then remote deploy will fail (no files will be copied) and error messageĀ (in attachment) will appear in a separate window.

      This used to work fine in QtCreator 4.9, but I couldn't find out why it happens, hence it took so long to report this.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            muttley Mateusz Szychowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes