[MacPorts] #36872: qt4-mac c++11 variant request

MacPorts noreply at macports.org
Wed Jan 23 09:02:41 PST 2013


#36872: qt4-mac c++11 variant request
------------------------------+-------------------------
  Reporter:  patlaborforce@…  |      Owner:  michaelld@…
      Type:  enhancement      |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.2
Resolution:                   |   Keywords:
      Port:  qt4-mac          |
------------------------------+-------------------------

Comment (by michaelld@…):

 Yes, quite a shame. One last item to overcome, and I'm good to go.  My
 question of the day is: Do you believe c++11 should be enabled in CONFIG
 by default or not when this variant is select? I'm believing "not" since
 that would impact a lot of other ports and projects. For those wishing to
 add it, it's a simple like of code in a QMake build file (I think this
 will work):
 {{{
 contains(QT_CONFIG,c++11): CONFIG += c++11
 }}}
 which then will work with any Qt (4 or 5, with or without support for
 c++11).  I'll have to check, but I believe this is the way Qt5 does c++11
 support: compile using c++11, but do not enable it in CONFIG by default;
 again, I might be wrong. Anyway, your thoughts?

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


More information about the macports-tickets mailing list