Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88268

Some pdb and lib files are not installed or installed to wrong path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.0.0
    • Build System: CMake
    • MSVC 2019; CMake 3.18.4; ninja 1.10.1
    • Windows
    • 215400e153b6017ae33aadfa7a319c6daeed4f85 (qt/qtbase/dev) cd1075459cf3a5fd864b745b0492ef4b5e10d572 (qt/qtbase/dev)

      I build latest qtbase from git.

      cmake "../../qt6/qtbase" -DCMAKE_INSTALL_PREFIX=D:\Qt\6.0.0-msvc2019-x64-shared -G"Ninja Multi-Config" -DCMAKE_CONFIGURATION_TYPES=Release;Debug
      

      I find that some pdb and lib files are not be installed:

      • bin/Debug/androiddeployqt.pdb
      • bin/Debug/androidtestrunner.pdb
      • lib/Qt6BundledHarfbuzz.lib
      • lib/Qt6BundledHarfbuzzd.lib
      • lib/Qt6BundledPcre2.lib
      • lib/Qt6BundledPcre2d.lib

      Following pdb files of debug tools should be installed to <install_path>/bin/Debug, not <install_path>/bin:

      • cmake_automoc_parser.pdb
      • moc.pdb
      • qdbuscpp2xml.pdb
      • qdbusxml2cpp.pdb
      • qlalr.pdb
      • qmake.pdb
      • qvkgen.pdb
      • rcc.pdb
      • tracegen.pdb
      • uic.pdb 

      Otherwise, when CMAKE_CONFIGURATION_TYPES=RelWithDebInfo;Debug, the pdb files of release tools and debug tools will be installed to the same path.

       

      The build log is in the attachment of QTBUG-88267.

      The install log is in the attachment of this issue.

        1. install.log
          628 kB
          Li Xinwei
        For Gerrit Dashboard: QTBUG-88268
        # Subject Branch Project Status CR V

            qtbuildsystem Qt Build System Team
            lixinwei Li Xinwei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes