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

configure should warn about -no-framework & cocoa

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 4.8.x
    • None
    • Build tools: qmake
    • None

      I was investigating a weird crash on QtCreator startup:

      bettdhcp167110:~ kkoehne$ ./dev/creator/bin/Qt\ Creator.app/Contents/MacOS/Qt\ Creator 
      Qt internal error: qt_menu.nib could not be loaded. The .nib file should be placed in QtGui.framework/Versions/Current/Resources/  or in the resources directory of your application bundle.
      Abort trap
      bettdhcp167110:~ kkoehne$
      

      turns out that this is caused because I compiled qt/master with -no-framework, which conflicts apparently with -cocoa being the new default.

      Is it possible to either print out an error at configure time, or implicitly switch to -cocoa when -no-framework is given?

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

            sorvig Morten Sørvig
            kkohne Kai Köhne
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes