[MacPorts] #27215: qt4-mac 4.7.0_n +debug+demos+examples+mysql+odbc+psql91+quartz+universal: A nameless mess

MacPorts noreply at macports.org
Tue Nov 9 08:10:06 PST 2010


#27215: qt4-mac 4.7.0_n +debug+demos+examples+mysql+odbc+psql91+quartz+universal: A
nameless mess
------------------------------------+---------------------------------------
 Reporter:  neverlunch@…            |       Owner:  michaelld@…           
     Type:  defect                  |      Status:  new                   
 Priority:  Normal                  |   Milestone:                        
Component:  ports                   |     Version:  1.9.2                 
 Keywords:                          |        Port:  qt4-mac               
------------------------------------+---------------------------------------

Comment(by neverlunch@…):

 The only thing I did is to add
 {{{
 patchfiles-append   patch-mkspecs_darwin-g++_qmake.conf.diff
 patchfiles-append   patch-darwin-g++.diff
 }}}
 into the Portfile in order to have {{{__APPLE__}}} & {{{__GNUC__}}}
 defined.

 Without that, Q_OS_MAC is undefined as it relies on them. How could it not
 be a problem for each "Qt on MacPorts" user ?

 I did not have any look in any Qt source but I suppose that platform-
 specific operations could not be functional if Q_OS_WIN32 is defined
 (which is the case in my projects) instead of Q_OS_MAC. So, having the
 wrong OS defined when compiling Qt could be a disaster, even if it seems
 to succeed. Please, correct me if I am wrong.

 I don't use x11 and don't wish to. I even added {{{+no_x11}}} into
 variants.conf.
 Although variant +quartz is implicit, I explicitly mentioned it for
 disambiguation.

 You're right, I could have had added those defines into the installed
 qmake.conf. I haven't thought of it. I wanted to find a solution for the
 whole installation process.

 So, qt4-mac @4.7.0_1 +debug+demos+examples+mysql+odbc+psql91+quartz is
 still building. I will leave comments after testing this new build.

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


More information about the macports-tickets mailing list