Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. duplicated folder on INSTALL on remote
Qt 6.11 is out! See what's new in the release blog

duplicated folder on INSTALL on remote

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 421 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    comarius
    wrote on last edited by comarius
    #1

    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.

    C 1 Reply Last reply
    0
    • C comarius

      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.

      C Offline
      C Offline
      comarius
      wrote on last edited by
      #2

      @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 ?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved