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

Windows: (n)make install does not adjust paths in .prl files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.0
    • 5.1.1
    • Build System
    • None
    • Windows 8 Pro, x64, MS Visual Studio 2012 Desktop compiler, Windows SDK installed, Qt 5.1.1 sources configured with -static -debug-and-release ...
    • 40d4c1b2ed24016d1860e21c7fd9d374c387f82d,08a2d8df4943453a0df8c02a88cfb29f210d0a10

    Description

      Just tried to compile (-static) and install the latest Qt 5.1.1 patch release from sources on Windows 8 x64 using VS2012 Desktop:

      In a Visual Studio 2012 Command Prompt:

      C:\qt\qt-...src-5.1.1> set QTDIR=C:\qt\qt-everywhere-enterprise-src-5.1.1
      C:\qt\qt-...src-5.1.1> set PATH=%QTDIR%\qtbase\bin;%QTDIR%\gnuwin32\bin;%PATH%
      C:\qt\qt-...src-5.1.1> set QMAKESPEC=win32-msvc2012
      
      C:\qt\qt-...src-5.1.1> configure \
          -platform win32-msvc2012 \
          -prefix c:\qt\5.1.1-static \
          -static \
          -debug-and-release \
          -commercial \
          -qt-zlib \
          -no-incredibuild-xge \
          -mp \
          -directwrite \
          -no-compile-examples \
          -nomake examples \
          -skip qtwebkit-examples
      

      The build with 'nmake' went smooth (many warnings though...), but the final 'nmake install' seems to be incomplete in several aspects:

      1. most of the *.prl files in the installation target still have references to the source tree, especially variable QMAKE_PRL_LIBS.
      2. several referenced/required dependent libraries are not installed. These are qtbase\lib\translator_* and qtbase\lib\preprocessor*
      3. the debug information files (PDB) for the Qt libraries seem to be missing in the installation target directory (e.g. lib\vc110.pdb). I keep getting tons of errors of this sort when compiling a qmake project configured for debug platform:
        (freely translated from German):
           Library "debug\tappS.lib" and object "debug\tappS.exp" are created.
        Qt5PrintSupportd.lib(qpaintengine_alpha.obj) : warning LNK4099: PDB "vc110.pdb" was not found with "Qt5PrintSupportd.lib(qpaintengine_alpha.obj)" or at "c:\myproject\debug\vc110.pdb"; linking object as if no debug info.
        

      To reproduce you must remove/rename the source-tree first and compile a Qt project in 'debug' mode with this static Qt installation.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-33794
          # Subject Branch Project Status CR V

          Activity

            People

              buddenha Oswald Buddenhagen
              jroemmler Jochen Roemmler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes