Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

duplicated folder on INSTALL on remote



  • Hi,

    Qt creator 4.9.1 based on 5.12.3

    I have this project

    [QT PROJECT] wanna deply configs to /etc on [TARGET DEVICE]

    ├── appname.pro		[TARGET DEVICE]
    ├── main.cpp
    ├── main.h		/etc/appname
    ├── configs			├── configs
    │   ├── bbb			   ├── bbb
    │   │   └── pin			   │   └── pin
    

    The pro rules are:

    target.path = /home/me/$${TARGET}/bin

    configs.files = ./configs/*
    configs.path = /etc/$${TARGET}

    !isEmpty(target.path): INSTALLS += target
    !isEmpty(configs.path): INSTALLS += configs

    but I end up with double bbb/bbb folders on the target

    ├── appname.pro					[TARGET DEVICE]
    ├── main.cpp
    ├── main.h		/etc/appname
    ├── configs			├── configs
    │   ├── bbb			   ├── bbb
    │   │   └── pin	         		└── bbb
    					     └── pin
    

    Any ideas what is going on.



  • @comarius said in duplicated folder on INSTALL on remote:

    Hi,

    Qt creator 4.9.1 based on 5.12.3

    I have this project

    [QT PROJECT] wanna deply configs to /etc on [TARGET DEVICE]

    ├── appname.pro [TARGET DEVICE]
    ├── main.cpp
    ├── main.h /etc/appname
    ├── configs ├── configs
    │   ├── bbb    ├── bbb
    │   │   └── pin    │   └── pin

    The pro rules are:

    target.path = /home/me/$${TARGET}/bin

    configs.files = ./configs/*
    configs.path = /etc/$${TARGET}

    !isEmpty(target.path): INSTALLS += target
    !isEmpty(configs.path): INSTALLS += configs

    but I end up with double bbb/bbb folders on the target

    ├── appname.pro [TARGET DEVICE]
    ├── main.cpp
    ├── main.h /etc/appname
    ├── configs ├── configs
    │   ├── bbb    ├── bbb
    │   │   └── pin    └── bbb
       └── pin

    Any ideas what is going on.

    Anyone ?


Log in to reply