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

debug binaries built against release def files do not run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P0: Blocker P0: Blocker
    • 4.6.0
    • 4.6.0
    • None
    • None

      Building debug binaries using the def files frozen with a release build produces unusable dlls.
      The debug binaries export more symbols, and import some of these.

      for example, qDebug is exported from corelib and used by the other libraries in debug mode.
      As this symbol doesn't exist in the release mode corelib, it doesn't appear in the def file.

      Workaround is to freeze the def files for debug build, but that will cause postlinker errors if you later try to build release.

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

            riskedal Espen Riskedal (closed Nokia identity) (Inactive)
            shkearns Shane Kearns
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes