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

Failed to build under Windows2012 X64 platform

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.5.1
    • Build System
    • None
    • OS: Windows2012 Server X64

    Description

      Greetings!
      OS: Windows2012 Server X64
      Build commands:
      C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat" & configure.bat -shared -opensource -confirm-license -no-opengl -nomake examples -nomake tests -skip qtactiveqt -skip qtdeclarative -skip qtenginio -skip qtgraphicaleffects -skip qtimageformats -skip qtlocation -skip qtmultimedia -skip qtquick1 -skip qtquickcontrols -skip qtscript -skip qtsensors -skip qtserialport -skip qtsvg -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtxmlpatterns

      C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat" & nmake install

      An error occurs when building the pcre, harfbuzz and freetype modules:

      LINK : fatal error LNK1104: cannot open file 'qtbase\lib\qtpcred.lib'
      LINK : fatal error LNK1104: cannot open file 'qtbase\lib\qtharfbuzzngd.lib'

      And similar one for the freetype library.

      To fix an error we replaced last line in files:

      qtbase/src/3rdparty/pcre/Makefile.Debug
      qtbase/src/3rdparty/pcre/Makefile.Release
      qtbase/src/3rdparty/harfbuzz-ng/Makefile.Debug
      qtbase/src/3rdparty/harfbuzz-ng/Makefile.Release
      qtbase/src/3rdparty/freetype/Makefile.Debug
      qtbase/src/3rdparty/freetype/Makefile.Release

      from
      FORCE:

      to
      FORCE: all

      Could you, please give me a tip how to build qt under windows platform without editing the mentioned makefiles?
      Thanks!
      Oleksii

      Attachments

        1. build.err
          0.4 kB
        2. build.err
          2 kB
        3. build.out
          7 kB
        4. build.out
          42 kB
        5. build.rb
          12 kB
        6. build1.err
          2 kB
        7. build1.out
          197 kB
        8. build1.rb
          12 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            Oleksii Oleksii
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes