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

Qt - Mac - Cocoa - static build confusion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.7.0
    • 4.6.0
    • Build System
    • None
    • Mac OSX Leopard
    • macOS

    Description

      We would love to deploy our product static so we are playing around a lot with those builds...
      Our ideal would be to have a universal build ppc + X86 in 32 and 64 Bit.
      So we felt brave and built 4.6.1. with cocoa and 32 Bit in static mode as a first try...
      When we compiled our product we encountered a "qt_menu.nib" error that we tried to fix by copying that file from the Qt sources to our app.
      Then we had an odd crash.
      -Researching we found that we are not alone, we saw a mailing list article that desribed exactly that issue (Feb 2009)
      http://lists.trolltech.com/pipermail/qt4-preview-feedback/2009-February/000599.html
      Here Trenton finally answered that cocoa and static is a NO GO !

      -The configure help (e.g. 4.6.1) states that cocoa does not support -no-framework and static

      After the first waves of panic died down we remembered that we read different things more recently.
      -The changelog-4.6.0 says in the section "Qt for Mac OSX --> general changes for Mac OSX":
      "The cocoa port now supports static linking"

      -There was a blog (Jan 2010)
      http://labs.trolltech.com/blogs/2010/01/20/it-is-time-to-reduce-the-carbon-emissions/
      Please look at the bold questions of "mantillo", there was no clear stance against or for the possibility of static-cocoa.

      -There were 2 related bug reports (5982 and 6771) (Nov 2009)
      http://bugreports.qt.nokia.com/browse/QTBUG-5982
      http://bugreports.qt.nokia.com/browse/QTBUG-6771
      Where i specifically asked about static cocoa builds --> again there was no clear statement from nokia staff members if that should work at all.

      Either you do not plan to support static cocoa builds or you do or you plan to do so in a foreseeable future.
      Please give us this clear statement in an understandable way, we do not want to invest more and more work examining this if you should simply know...

      Plese help us out and give us the needed informations...

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            mantillo Marcel Timm
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes