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

Building a static version of Qt on Windows 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.6.2
    • None
    • None
    • bbf78c9b422c4c7eda7e7fce067578c75d3bc9b3

    Description

      I like to build a static version of Qt.
      My operating system is Windows 7 64bit.
      I have done the "Building a static version of Qt" from the wiki
      The compiling tool is mingw32-make (version: GNU Make 3.81)
      If I compile after the configure I get this error:

      ./../mkspecs/win32-g++' -o tmp/obj/release_static/zutil.o ../../3rdparty/zlib/zutil.c
      ar -M < object_script.libbootstrap.Release
      /usr/bin/sh: /c/MyPrograms/Programming/mingw/bin/ar: Invalid argument
      mingw32-make[2]: *** [release/libbootstrap.a] Error 126
      mingw32-make[2]: Leaving directory `c:/MyPrograms/Programming/Qt4/qtstatic/src/tools/bootstrap'
      mingw32-make[1]: *** [release] Error 2
      mingw32-make[1]: Leaving directory `c:/MyPrograms/Programming/Qt4/qtstatic/src/tools/bootstrap'
      mingw32-make: *** [sub-tools-bootstrap-make_default-ordered] Error 2

      Thank you very much for your help.
      Greetings kea_

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            kea_ Heiko Meier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes