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. Disable generation of pdb files in open source qt build?
Forum Updated to NodeBB v4.3 + New Features

Disable generation of pdb files in open source qt build?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
14 Posts 2 Posters 1.1k 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.
  • R Offline
    R Offline
    RkTest
    wrote on 3 Oct 2023, 11:36 last edited by RkTest 10 Mar 2023, 11:37
    #1

    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?

    C 1 Reply Last reply 3 Oct 2023, 12:01
    0
    • R RkTest
      3 Oct 2023, 11:36

      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?

      C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 3 Oct 2023, 12:01 last edited by
      #2

      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?

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

      R 1 Reply Last reply 3 Oct 2023, 12:36
      1
      • C Christian Ehrlicher
        3 Oct 2023, 12:01

        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?

        R Offline
        R Offline
        RkTest
        wrote on 3 Oct 2023, 12:36 last edited by RkTest 10 Mar 2023, 12:37
        #3

        @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?

        C 1 Reply Last reply 3 Oct 2023, 12:42
        0
        • R RkTest
          3 Oct 2023, 12:36

          @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?

          C Offline
          C Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 3 Oct 2023, 12:42 last edited by
          #4

          The Qt online installer provides binaries for MSVC 64bit.

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

          R 1 Reply Last reply 3 Oct 2023, 12:57
          1
          • C Christian Ehrlicher
            3 Oct 2023, 12:42

            The Qt online installer provides binaries for MSVC 64bit.

            R Offline
            R Offline
            RkTest
            wrote on 3 Oct 2023, 12:57 last edited by RkTest 10 Mar 2023, 13:04
            #5

            @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.

            C 1 Reply Last reply 3 Oct 2023, 13:05
            0
            • R RkTest
              3 Oct 2023, 12:57

              @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.

              C Offline
              C Offline
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on 3 Oct 2023, 13:05 last edited by
              #6

              You can download the online installer here: https://download.qt.io/official_releases/online_installers/

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

              R 1 Reply Last reply 3 Oct 2023, 13:11
              1
              • C Christian Ehrlicher
                3 Oct 2023, 13:05

                You can download the online installer here: https://download.qt.io/official_releases/online_installers/

                R Offline
                R Offline
                RkTest
                wrote on 3 Oct 2023, 13:11 last edited by
                #7

                @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.".

                C 1 Reply Last reply 3 Oct 2023, 13:18
                0
                • R RkTest
                  3 Oct 2023, 13:11

                  @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.".

                  C Offline
                  C Offline
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on 3 Oct 2023, 13:18 last edited by
                  #8

                  Then try another mirror.

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

                  R 1 Reply Last reply 3 Oct 2023, 13:32
                  1
                  • C Christian Ehrlicher
                    3 Oct 2023, 13:18

                    Then try another mirror.

                    R Offline
                    R Offline
                    RkTest
                    wrote on 3 Oct 2023, 13:32 last edited by
                    #9

                    @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.
                    C R 2 Replies Last reply 3 Oct 2023, 13:33
                    0
                    • R RkTest
                      3 Oct 2023, 13:32

                      @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.
                      C Offline
                      C Offline
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on 3 Oct 2023, 13:33 last edited by
                      #10

                      https://doc.qt.io/qt-6/get-and-install-qt-cli.html#selecting-mirror-for-opensource

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

                      R 1 Reply Last reply 3 Oct 2023, 13:42
                      1
                      • C Christian Ehrlicher
                        3 Oct 2023, 13:33

                        https://doc.qt.io/qt-6/get-and-install-qt-cli.html#selecting-mirror-for-opensource

                        R Offline
                        R Offline
                        RkTest
                        wrote on 3 Oct 2023, 13:42 last edited by RkTest 10 Mar 2023, 13:43
                        #11

                        @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.

                        1 Reply Last reply
                        0
                        • R RkTest
                          3 Oct 2023, 13:32

                          @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.
                          R Offline
                          R Offline
                          RkTest
                          wrote on 3 Oct 2023, 17:15 last edited by
                          #12

                          @RkTest I have used the command like this MaintenanceTool.exe --mirror https://mirrors.sjtug.sjtu.edu.cn/qt. But which ever repo I use I get error " at least one valid and enabled repository required for this action to succeed".

                          C 1 Reply Last reply 3 Oct 2023, 17:35
                          0
                          • R RkTest
                            3 Oct 2023, 17:15

                            @RkTest I have used the command like this MaintenanceTool.exe --mirror https://mirrors.sjtug.sjtu.edu.cn/qt. But which ever repo I use I get error " at least one valid and enabled repository required for this action to succeed".

                            C Offline
                            C Offline
                            Christian Ehrlicher
                            Lifetime Qt Champion
                            wrote on 3 Oct 2023, 17:35 last edited by
                            #13

                            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.

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

                            R 1 Reply Last reply 3 Oct 2023, 17:45
                            1
                            • C Christian Ehrlicher
                              3 Oct 2023, 17:35

                              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.

                              R Offline
                              R Offline
                              RkTest
                              wrote on 3 Oct 2023, 17:45 last edited by
                              #14

                              @Christian-Ehrlicher No problem Christian. Thank you for your guidance.

                              1 Reply Last reply
                              0

                              1/14

                              3 Oct 2023, 11:36

                              • Login

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