[MacPorts] #27815: qt4-mac @4.7.1 Missing symbols - build failure

MacPorts noreply at macports.org
Mon Jan 10 08:04:06 PST 2011


#27815: qt4-mac @4.7.1 Missing symbols - build failure
--------------------------------------+-------------------------------------
 Reporter:  okmacports@…              |       Owner:  michaelld@…           
     Type:  defect                    |      Status:  new                   
 Priority:  Normal                    |   Milestone:                        
Component:  ports                     |     Version:  1.9.2                 
 Keywords:                            |        Port:  qt4-mac               
--------------------------------------+-------------------------------------

Comment(by michaelld@…):

 Ah; I see the issue.  CoreWLAN is available on 10.6 only (not 10.5 or
 prior) -and- the QMake .pro file does:
 {{{
 contains(QT_CONFIG, corewlan) {
     isEmpty(QMAKE_MAC_SDK)|contains(QMAKE_MAC_SDK,
 "/Developer/SDKs/MacOSX10.6.sdk") {
          LIBS += -framework CoreWLAN -framework Security
          DEFINES += MAC_SDK_10_6
     }
 }
 }}}
 which means that the LIBS are added only if the SDK is empty or it
 contains the "old usual" location -- but it won't work if you use an
 alternative location for the SDK in your ${developer_dir}.  I'm looking
 into a generic fix.

-- 
Ticket URL: <https://trac.macports.org/ticket/27815#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list