On Thu, 23 Apr 2015 17:15:57 +0200 "Schaich, Alonso" <[email protected]> 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
#include <QCoreApplication>
int
main (int argsc, char **argsv)
{
QCoreApplication app (argsc, argsv);
return (app.exec ());
}
test.pro
Description: Binary data
pgpd1NWdo1DKJ.pgp
Description: PGP signature
_______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
