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 172 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.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on 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
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 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
      • PerdrixP Offline
        PerdrixP Offline
        Perdrix
        wrote on 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
        • PerdrixP Perdrix has marked this topic as solved on

        • Login

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