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

Wrong install rules for debug info in presence of VERSION

XMLWordPrintable

    • Windows
    • 9e97d64ccd27adcb2053c90cfbcafaef68e53893 (qt/qtbase/5.12)

      If an app template also sets VERSION, the rules for the debug information in the Makefiles contain the major version number in the file names for the pdb, even though it still is actually created without a version number $${TARGET}.pdb.

      That means that e.g. the debug information is not installed on nmake install.

      See attached example.

      distclean: clean 
      	-$(DEL_FILE) .qmake.stash debug\debuginfo1.lib debug\debuginfo1.pdb
      ...
      
      install_target: first FORCE
      ...
      	-$(INSTALL_FILE) debug\debuginfo1.pdb $(INSTALL_ROOT)\bin\debuginfo1.pdb
      

      The actual file is debug\debuginfo.pdb though.

        1. debuginfo.pro
          0.3 kB
        2. main.cpp
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jbornema Joerg Bornemann
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes