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. CMake windeployqt not deplying .pdb files for executables
Forum Updated to NodeBB v4.3 + New Features

CMake windeployqt not deplying .pdb files for executables

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 164 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.
  • P Offline
    P Offline
    Perdrix
    wrote 26 days ago last edited by
    #1

    I build my release build for Windows using /Zi to create pdb files.

    My CMake file says:

        set(deploy_tool_options_arg "${deploy_tool_options_arg} --pdb")
    

    The Qt dll files do have their pdb files deployed, but my .exe files do not even though they are there in the build directory.

    Is this something I'm doing wrong, or is the a bug?

    Thanks
    David

    1 Reply Last reply
    0
    • C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote 26 days ago last edited by
      #2

      With deploy_tool_options_arg you set the options for windeployqt which is only responsible to deploy the Qt dlls and plugins for your executable. It will not do anything with your executable.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Perdrix
        wrote 26 days ago last edited by Perdrix
        #3

        So it won't copy the pdb files from my build dir to the deploy dir - OK understood - though I think it should!

        1 Reply Last reply
        0
        • P Perdrix has marked this topic as solved 26 days ago

        1/3

        13 Jun 2025, 08:33

        • Login

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