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.3k 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 RkTest

    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?

    Christian EhrlicherC Online
    Christian EhrlicherC Online
    Christian Ehrlicher
    Lifetime Qt Champion
    wrote on 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
    1
    • Christian EhrlicherC Christian Ehrlicher

      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 last edited by RkTest
      #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?

      Christian EhrlicherC 1 Reply Last reply
      0
      • R RkTest

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

        Christian EhrlicherC Online
        Christian EhrlicherC Online
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on 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
        1
        • Christian EhrlicherC Christian Ehrlicher

          The Qt online installer provides binaries for MSVC 64bit.

          R Offline
          R Offline
          RkTest
          wrote on last edited by RkTest
          #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.

          Christian EhrlicherC 1 Reply Last reply
          0
          • R RkTest

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

            Christian EhrlicherC Online
            Christian EhrlicherC Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on 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
            1
            • Christian EhrlicherC Christian Ehrlicher

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

              R Offline
              R Offline
              RkTest
              wrote on 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.".

              Christian EhrlicherC 1 Reply Last reply
              0
              • R RkTest

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

                Christian EhrlicherC Online
                Christian EhrlicherC Online
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on 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
                1
                • Christian EhrlicherC Christian Ehrlicher

                  Then try another mirror.

                  R Offline
                  R Offline
                  RkTest
                  wrote on 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.
                  Christian EhrlicherC R 2 Replies Last reply
                  0
                  • R RkTest

                    @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 EhrlicherC Online
                    Christian EhrlicherC Online
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on 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
                    1
                    • Christian EhrlicherC Christian Ehrlicher

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

                      R Offline
                      R Offline
                      RkTest
                      wrote on last edited by RkTest
                      #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

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

                        Christian EhrlicherC 1 Reply Last reply
                        0
                        • R RkTest

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

                          Christian EhrlicherC Online
                          Christian EhrlicherC Online
                          Christian Ehrlicher
                          Lifetime Qt Champion
                          wrote on 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
                          1
                          • Christian EhrlicherC Christian Ehrlicher

                            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 last edited by
                            #14

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

                            1 Reply Last reply
                            0

                            • Login

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