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