[MacPorts] #37331: qt5-mac
MacPorts
noreply at macports.org
Tue Jun 3 08:06:00 PDT 2014
#37331: qt5-mac
-----------------------------+--------------------------------
Reporter: eric.c.brown@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt5 |
-----------------------------+--------------------------------
Comment (by william@…):
FWIW, and just to make a note here, I have Qt 5.3.0 building and working
happily here using the following configure incantation:
{{{
configure -sdk macosx10.9 -warnings-are-errors -system-proxies -no-linuxfb
-no-directfb \
-no-dbus -pch -optimized-qmake -v -no-compile-examples \
-nomake examples -no-glib -opensource -confirm-license -force-debug-info
-debug-and-release \
-prefix ‘(cd ../qt-everywhere-opensource-src-5.3.0-beta-deploy/; pwd -P)‘
-icu -no-xcb \
-I /opt/local/include -L /opt/local/lib
}}}
At the moment I haven't tried the final release, but the above worked well
for the beta, with the following provisos:
There’s an existing bug[1][2] in Qt 5.3.0 beta which causes problems
trying to build for Mac OS 10.7 and later with C++11.
We work (force our way) around this by adding the line QMAKE MACOSX
DEPLOYMENT TARGET = 10.7 to the file qtbase/mkspecs/macx-clang/qmake.conf
so that this configuration parameter propagates everywhere when building
with that toolchain with c++11 configured.
There is also another[3], which prevents the enginio component from
building.
Applying the workaround of altering the value of MODULE VERSION to be
5.3.0, as suggested in that bug, allows the build to complete.
[1] https://bugreports.qt-project.org/browse/QTBUG-37803
[2] https://bugreports.qt-project.org/browse/QTBUG-31586
[3] https://bugreports.qt-project.org/browse/QTBUG-37902
--
Ticket URL: <https://trac.macports.org/ticket/37331#comment:77>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list