[kde-freebsd] qmake5 fails to link

Сергей Чурсанов masakra at mail.ru
Fri Apr 24 08:57:08 UTC 2015


Hi, Alonso.

Right way is make patch for port, i think. But i have add two line to 
/usr/local/lib/qt5/mkspecs/common/freebsd.conf

INCLUDEPATH += /usr/local/include
LIBS += -L/usr/local/lib

> On Thu, 23 Apr 2015 17:15:57 +0200
> 
> "Schaich, Alonso" <alonsoschaich at fastmail.fm> wrote:
> > Hi
> > 
> > Over here, qt5's qmake fails to link even the trival qt5 projects
> > (attached), when invoked via
> > 
> > #> /usr/local/lib/qt5/bin/qmake -makefile && make
> > 
> > as it doesn't add /usr/local/lib to the library path used by the linker
> > on a FreeBSD-10 system where qmakespec defaults to freebsd-clang.
> > 
> > I traced this to r10442 of area51 which removed the QMAKE_LIBDIR
> > extension from the freebsd qmakespec - inverting the
> > devel/qmake5/files/patch-mkspecs__common__freebsd.conf part of r10442
> > fixes the linker invokation.
> > 
> > While a "fix" would be easy, rather than manual qmake invokation
> > being broken on FreeBSD-10/WITH_CLANG_IS_CC for almost half a year
> > unnoticed, I rather like to think that I'm invoking qmake poorly.
> > 
> > What's the "right" way of invoking qmake5?
> > 
> > Alonso
> 
> +attachments
-- 
★★★☆☆☆                        ⚡

Best regards, masakra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20150424/bd8fc3bc/attachment.sig>


More information about the kde-freebsd mailing list