Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-134

Using the static version of MinGW runtimes.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 1.4.0
    • 1.2
    • General
    • None
    • Windows *
      MinGW / MinGW-w64
      Qt 4.8.1 Statically compiled.

    Description

      When compiling with MinGW or MinGW-w64 under windows, the "-static" switch should be added to the LIBS variable of the "installerfw.pri" file.

      This way, all projects including this file (archivegen, binarycreator, reopen and most importantly the installer project) will be standalone, not requiring any other dependencies.

      This is to avoid having to redistribute the MinGW / MinGW-w64 runtimes along with the installer (As the "-static" switch tells MinGW / MinGW-w64 to use the static version of the runtimes.

      i have myself added the switch in installerfw.pri and tested successfully.

      Pierre.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            hickscorp MARTIN Pierre
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes