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

"make install" is incomplete with -static

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.0 RC1
    • 5.1.0
    • Build System
    • None
    • Windows 7, MSDev 2010
    • bd804329f5438b3a9d248d0ad58a69dcbc45c4a3

    Description

      Using this configure sequence:

       
      c:\Qt-Win32-5.1.0_BLD>configure -static -openssl-linked -prefix C:\Qt-Win32-5.1.0 -platform win32-msvc2010 -no-icu -no-incredibuild-xge -debug-and-release -accessibility -fontconfig -compile-examples -nomake examples -nomake demos -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -l gdi32
      
      c:\Qt-Win32-5.1.0_BLD>nmake 
       
      c:\Qt-Win32-5.1.0_BLD>nmake install
      

      Produces an incomplete installation, the following libraries are missing:

      translator_common.lib
      translator_hlsl.lib
      preprocessor.lib

      Plus, the corresponding debug libs. Manually copying the libraries is an effective workaround.

      In addition to that, the .pdb files are also not copied into the install location, resulting in the very annoying stack of these:

       
      2>Qt5Cored.lib(qabstractanimation.obj) : warning LNK4099: PDB 'vc100.pdb' was not found with 'Qt5Cored.lib(qabstractanimation.obj)' or at 'C:\vRoom\MyRoom\main\MyRoom\Debug\vc100.pdb'; linking object as if no debug info
      2>Qt5Cored.lib(qvariantanimation.obj) : warning LNK4099: PDB 'vc100.pdb' was not found with 'Qt5Cored.lib(qvariantanimation.obj)' or at 'C:\vRoom\MyRoom\main\MyRoom\Debug\vc100.pdb'; linking object as if no debug info
      .
      .
      .
      

      This last part is also a bit more difficult to workaround since the pdb files are all named the same (vc100.pdb). If they were named by module, (e.g. Qt5Cored.pdb), then it would be a simple matter of just dumping them all into the lib dir...

      In our case, the make install feature would be quite valuable to have working. We normally build each Qt version once, and then zip up the result for distribution to developers and our own product build system. The difference in size between the BLD directory and the install result directory is quite dramatic...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            jokeman Gary Hynes
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes