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. QtCreatorDeployment.txt in Make project (not CMake!)
Forum Updated to NodeBB v4.3 + New Features

QtCreatorDeployment.txt in Make project (not CMake!)

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 1.4k 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
    camm
    wrote on last edited by
    #1

    I have a Make project that is targetted at an embedded device. I have set up the Kit information fine, and the exe builds and runs fine.

    However I wanted to use the remote deployment tools in Qt Creator to make my life easier - unfortunately my QtCreatorDeployment.txt file seems to be ignored as there are no entries in the 'Files to deploy' table in the 'Run Settings' page.

    My QtCreatorDeployment.txt is simply:

    /usr/bin/
    a/b/c/my_exe:/
    

    I've also tried:

    /
    a/b/c/my_exe:usr/bin
    

    The documentation seems to be geared towards CMake, but surely the deployment mechanism is project type agnostic?

    1 Reply Last reply
    0
    • aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @camm,

      Grepping for "QtCreatorDeployment.txt" in Creators sources only gives results in cmakeproject.cpp. I know that the QMake project managers uses the INSTALL lines from .pro file.

      I'm currently not aware of any deployment actions for the Generic (= Makefile-based) Project. You may file a suggestion on bugreports.qt.io

      Till then you have the following possibilities:

      1. Add the deploy steps to your makefile and let it deploy on every build
      2. Add a custom run configuration, so the exe is deployed whenever you choose run (under Projects -> Run Setting)
      3. Add an External Tool that does the deployment for you (you can assign a shortcut also): Tools -> External -> Configure

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • C Offline
        C Offline
        camm
        wrote on last edited by
        #3

        Thanks for looking @aha_1980, I'll file a suggestion.

        I'm currently just using another terminal to scp over my exe, but adding as a run step (i.e. your point 2) is slicker.

        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