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 - deploying stripped files from CMake project
Forum Updated to NodeBB v4.3 + New Features

QtCreator - deploying stripped files from CMake project

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 955 Views 1 Watching
  • 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.
  • G Offline
    G Offline
    gvdv
    wrote on last edited by
    #1

    Hi,

    I have a large CMake project structure for an embedded Linux device that builds a number of shared libraries and executables that are basically too big. They just barely fit on my target device.

    So I added the install/strip option to the make command line, and the stripped binaries are now written to another directory. What's left is about 20% of the original size. Great.

    But I cannot figure out how to get Qt Creator to deploy the stripped binaries instead of the unstripped ones. The table in my project settings that list the files to deploy still has "Local File Path" set to the /build directory instead of /deploy. Is there any way I can change that?

    I've tried adding the stripped binaries to a QtCreatorDeployment.txt file, but that doesn't seem to be the way either. As far as I can see, the files I add to that are always assumed to be in the project-source-directory. And even if I would put them in there, I would end up with duplicate file names, as the original files are still being deployed.

    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