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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.10.2, Qt Creator 4.11.0
    • Labels:
      None
    • Environment:
      2 environments where it reproduced:
      Arch Linux, i7-7700K, NVIDIA 440.48 with GTX 1060, XFCE
      Manjaro Linux, i7-7500U, iGPU, GNOME
    • Platform/s:
      Linux/X11
    • Commits:
      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

        For Gerrit Dashboard: QTCREATORBUG-23528
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            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