[MacPorts] #35975: qwt-60 fails to build against qt4-mac +framework
MacPorts
noreply at macports.org
Tue Sep 4 18:14:36 PDT 2012
#35975: qwt-60 fails to build against qt4-mac +framework
-------------------------------+--------------------------------------------
Reporter: mathew@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: qt4-mac
-------------------------------+--------------------------------------------
qwt-60 build fails with an error about not finding -lqwt. If I change
-lqwt to -framework qwt in the Makefile(s) after the build fails, then
next attempt completes successfully.
This may possibly be related to #34864 and/or #35506, specifically the
changes to qt4-mac referenced here:
https://trac.macports.org/ticket/35506#comment:19
It seems that the macro qtAddLibrary referenced in designer.pro and
textengines.pro is not properly detecting the qt framework build, telling
the Makefile to look for a shared library instead of a framework.
The macro qtAddLibrary is defined in
share/qt4/mkspecs/features/qt_functions.prf as part of the qt4-mac
install, which is why I filed the bug against qt4-mac instead of qwt-60.
--
Ticket URL: <https://trac.macports.org/ticket/35975>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list