Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. cmake install of Qt build does not install debug artifacts
Forum Update on Monday, May 27th 2025

cmake install of Qt build does not install debug artifacts

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 260 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.
  • R Offline
    R Offline
    Rich v
    wrote on 26 Sept 2022, 21:33 last edited by
    #1

    This might be a naive question. I needed to build Qt 6.2.4 for desktop 32-bit since the distributions are strictly 64-bit now. My configure.bat call used -debug-and-release.

    After building, the build folder contained debug and release versions of all the artifacts. When I ran the cmake --install . step, only the release artifacts were installed.

    What would be the right way to install both?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rich v
      wrote on 26 Sept 2022, 22:57 last edited by
      #2

      I was able to figure it out. I had to explicitly ask for the Debug artifacts to be installed and what worked for me was:
      ninja install:Debug.

      1 Reply Last reply
      1

      1/2

      26 Sept 2022, 21:33

      • Login

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