Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator adds device UUID when using variables in run configurations
QtWS25 Last Chance

QtCreator adds device UUID when using variables in run configurations

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 139 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.
  • K Offline
    K Offline
    Konstantin Dols
    wrote on last edited by
    #1

    Hi there,

    as a deployment step in a CMake project in QtCreator I want to add a user defined step. The project's build chain works and the target file is generated successfully.

    As the command in the deployment step I added the path to a script.
    As the argument I want to generate the full path to the target file using the allowed variables from QtCreator, e.g. %{ActiveProject:RunConfig:Executable:FilePath}.

    For some reason this results in a path like
    "device://{dd8e310f-118b-4352-8bc9-954bdfe715d1}/home/user/build/myproject-CrossCompiler-Debug/..."
    which cannot be resolved as a path by the script or any command in the terminal.
    Probably it is the UUID of the device or a partition on it.

    I checked the project's files but cannot find where the prefix comes from.

    Any ideas?
    Thanks in advance.

    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