Disable generation of pdb files in open source qt build?
-
I am installing qt 6.5.2 on windows 10 for visual studio 2019.
I am trying to configure qt-everywhere-src-6.5.2 using x64 Visual Studio 2019 Command Prompt using the following commands:configure.bat -DLLVM_INSTALL_DIR="C:/Program Files/LLVM/" -skip QDoc -nomake examples -nomake tests -nomake qtopcua cmake --build . --parallel
There are a lot of symbol .pdb files which are getting generated and the size of folder is 60+GB due to which I am running out of space. How do I disable the generation of these pdb files?
-
Since these are the debug symbols I doubt it's possible except you only compile for release which means you can't create a debug version of your program either.
Why compile Qt by yourself at all? -
@Christian-Ehrlicher Thanks Christian for the suggestion. I am compiling qt by myself as its opensource qt-everywhere-src-6.5.2.zip. I am not using qt creator but visual studio 2019 compiler to build it. Is there any other way to install qt 6.5.2 opensource without using qt creator for visual studio 2019?
-
The Qt online installer provides binaries for MSVC 64bit.
-
@Christian-Ehrlicher But online is a paid one right. I need non paid version.
Plus earlier version like 5.13.1 I have used provided qt-opensource-windows-x86-5.13.1.exe ( [https://download.qt.io/new_archive/qt/5.13/5.13.0/]). But similar exe is not available for 6.5.2 ( [https://download.qt.io/archive/qt/6.5/6.5.2/] ).
So stuck up in build process. -
You can download the online installer here: https://download.qt.io/official_releases/online_installers/
-
@Christian-Ehrlicher Thank you for the link. This I had tried last week too. But the mirror https://mirrors.cloud.tencent.com/qt/archive/online_installers/4.6/qt-unified-windows-x64-4.6.1-online.exe is not reachable with errors "This page isn’t working mirrors.cloud.tencent.com didn’t send any data.".
-
Then try another mirror.
-
@Christian-Ehrlicher I am sorry I am asking such basic questions as I am new to qt. Where can I find the list of mirrors?
I tried to get mirror list from [https://download.qt.io/online/qtsdkrepository/windows_x86/root/qt/Updates.xml.mirrorlist](link url) and fired the command ```
"MaintenanceTool.exe --mirror https://mirrors.ustc.edu.cn/qtproject/online/qtsdkrepository/windows_x86/root/qt/Updates.xml"But the installer says no updates found.
-
@Christian-Ehrlicher I had referred this link only but now realized my mistake of using the entire url instead of using till before online part.
-
I sadly can't test it atm because TQtC f***ed up my account so I can't install a GPL version atm. Hoepfully someone else can check out what's going wrong here.
-
@Christian-Ehrlicher No problem Christian. Thank you for your guidance.