Opened 12 years ago
Closed 12 years ago
#35975 closed defect (fixed)
qwt-60 fails to build against qt4-mac +framework
Reported by: | mathew@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | phw@… | |
Port: | qt4-mac qwt-60 |
Description
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.
Change History (5)
comment:1 Changed 12 years ago by michaelld (Michael Dickens)
comment:3 Changed 12 years ago by michaelld (Michael Dickens)
Owner: | changed from macports-tickets@… to michaelld@… |
---|
comment:4 Changed 12 years ago by jmroot (Joshua Root)
Cc: | phw@… added |
---|---|
Port: | qwt-60 added |
comment:5 Changed 12 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r102939.
I'm working on a fix for this issue; yes, it's a qt4-mac issue & related to what you wrote.