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. Build Qt on Windows without debug symbols
QtWS25 Last Chance

Build Qt on Windows without debug symbols

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 262 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.
  • N Offline
    N Offline
    ndtsebi
    wrote on last edited by
    #1

    I need to build Qt from sources using Visual Studio 2019, for both release and debug.

    My question is, is there any way to configure the build of Qt6 for debug, using Visual Studio, but without generating the symbol files (.pdb files).

    I know it's a strange question (maybe even dumb), but my project manager asked me to generate also the debug libs and I do not have enough disk space on my machine.

    Thanks.

    Chris KawaC 1 Reply Last reply
    0
    • N ndtsebi

      I need to build Qt from sources using Visual Studio 2019, for both release and debug.

      My question is, is there any way to configure the build of Qt6 for debug, using Visual Studio, but without generating the symbol files (.pdb files).

      I know it's a strange question (maybe even dumb), but my project manager asked me to generate also the debug libs and I do not have enough disk space on my machine.

      Thanks.

      Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi, welcome to the forum

      I know it's a strange question (maybe even dumb), but my project manager asked me

      That makes no sense. What point is creating debug build without debug information. It's just gonna be slower and bigger and generally useless, because you can't even use it to debug, which is the whole point of it.

      To my knowledge Qt configure script doesn't support such a weird configuration. Even if you actually managed to hack it my guess is that the next request from your manager would be to get the pdbs, because debug build without debug information is pointless.

      If you got a task you need the equipment. If the manager wants a debug build and you don't have space for it make them get you a larger storage.

      N 1 Reply Last reply
      2
      • Chris KawaC Chris Kawa

        Hi, welcome to the forum

        I know it's a strange question (maybe even dumb), but my project manager asked me

        That makes no sense. What point is creating debug build without debug information. It's just gonna be slower and bigger and generally useless, because you can't even use it to debug, which is the whole point of it.

        To my knowledge Qt configure script doesn't support such a weird configuration. Even if you actually managed to hack it my guess is that the next request from your manager would be to get the pdbs, because debug build without debug information is pointless.

        If you got a task you need the equipment. If the manager wants a debug build and you don't have space for it make them get you a larger storage.

        N Offline
        N Offline
        ndtsebi
        wrote on last edited by
        #3

        @Chris-Kawa

        That was my whole point.
        I already requested a hardware upgrade and I will create the complete debug build when I'll have the resources. I just asked the question out of curiosity, but you're right, it is a weird configuration.
        Thanks.

        1 Reply Last reply
        0
        • N ndtsebi 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