From owner-freebsd-ports@FreeBSD.ORG Sat Aug 2 08:47:27 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4AA3C80 for ; Sat, 2 Aug 2014 08:47:27 +0000 (UTC) Received: from posteo.de (mx02.posteo.de [89.146.194.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A49632426 for ; Sat, 2 Aug 2014 08:47:26 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTP id 4E13225AF506; Sat, 2 Aug 2014 10:39:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at posteo.de Received: from posteo.de ([10.125.125.178]) (using TLS) by localhost (amavis1.posteo.de [10.125.125.165]) (amavisd-new, port 10026) with ESMTPS id fa9wi59Sv5Ip; Sat, 2 Aug 2014 10:39:24 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by mail.posteo.de (Postfix) with ESMTPSA id 2979D2C2C9F; Sat, 2 Aug 2014 10:39:23 +0200 (CEST) Date: Sat, 2 Aug 2014 10:36:39 +0200 From: Marco =?UTF-8?B?QnLDtmRlcg==?= To: Daniel Morante Subject: Re: Trying to build a QT5 application Message-ID: <20140802103639.0384dfb9@localhost> In-Reply-To: <53DB8AE0.8030903@morante.net> References: <53DB8AE0.8030903@morante.net> Reply-To: marco.broeder@posteo.eu MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/SJgHonvMf4wJy+Eg9xisaSi"; protocol="application/pgp-signature" Cc: "ports@freebsd.org" , kde-freebsd@kde.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2014 08:47:28 -0000 --Sig_/SJgHonvMf4wJy+Eg9xisaSi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 01 Aug 2014 08:41:04 -0400 Daniel Morante wrote: > I am trying to create a port for an application that supports both > Qt4 and Qt5. >=20 > Qt4 builds fine and I am using the following in the port's Makefile: >=20 > QT4_CONFIGURE_WITH=3D gui=3Dqt4 > QT4_USE=3D > qt4=3Dcorelib,gui,qmake_build,linguist,uic,moc,rcc,qtestlib_build >=20 > For Qt5 I have: >=20 > QT5_CONFIGURE_WITH=3D gui=3Dqt5 > QT5_USE=3D=20 > qt5=3Dcore,gui,dbus,widgets,network,qmake_build,linguisttools,buildtools_= build,testlib_build >=20 > Using Qt5 fails to configure properly. It's unable to find > "lrelease": >=20 > checking for lrelease-qt5... no > checking for lrelease5... no > checking for lrelease... no > configure: error: LRELEASE not found >=20 > According to the porters handbook, that should be provided by=20 > "linguisttools" above. I also tried with and had the same result: >=20 > QT5_USE=3D=20 > qt5=3Dcore,gui,dbus,widgets,network,qmake_build,linguist,linguisttools,bu= ildtools_build,testlib_build >=20 Hello Daniel, I had the same problem with mail/trojita in the QT5 version and solved it by patching the cmake search path for the linguist binaries to ${QT_BINDIR}. Maybe you should do something similar with your port. CC'ing kde-freebsd@kde.org, because it looks like something is wrong with our QT5 ports. Unfortunately, I never had the time to take a closer look at this issue and the simple fix worked for my port. --=20 Regards --Sig_/SJgHonvMf4wJy+Eg9xisaSi Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJT3KM3AAoJEEjQ6Txo1AoUQ4oP/ikG3kAdbiqEPpTO6gj/D55g 50WNFzt0pB80xT0hcAFnq8tYt90GlPsXEpjLWGOhYNoWLhzQVyv7NrLOuAqT/Cpr 3asl2HeSWXfdC4zOoxYmAQNn5M/rNprHxyqv4jmhB90gvyus9NdL6afEiw/9hkWc kklsOQQeAlclApIJSpVEfbXe3aTlEy8zQ6SALQJxJOZen/3E1xwds5WnbrRXfSGX HD9EWgxNcVj2yR9ct3wVOgrhWrGs1mzX0gb2dMUb2V3AuhpZWnTnB0Fw+rDyyB6u EontLJ3TopXexHf90GytM/AInzkMeYAYr/gPITbjtGG5h/JJHmRQsRmXwUqeoOTv Pb6mYjiEhg9vBKcNkUwFlgrYPEwIG9FRXSbK17Ji51mAHkfffnqndvjOuMqysQ2P 9y3x2rz0ZJlRGcnVb6e/pfjC/uyEyQqbXUXhgiPzTYlvzft+kE6fmT/FL8E7IPaV LkgTBYnZxJl7lUGtopqply5MPGnxG3fGjSmgV2+TuAM/4NGil1BpQjPWnOvdDuBt 8RY2OZEqsfnBdXjkRGqzmu2VaZGm5oXSvdj4/3UIYhpiA36AD43IrCL0YOXaM8gt 0VImzaTb+xOlVgTKfS+paE//iIFWfrhuJCHrfB9IGGsin2oJACAgI84NhAhbx2Og g0jEhX0Vr7RlHWITizVF =IJUR -----END PGP SIGNATURE----- --Sig_/SJgHonvMf4wJy+Eg9xisaSi--