From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: packaging qt applications Date: Tue, 26 Jul 2016 15:41:48 +0200 Message-ID: <20160726134147.GA8710@jocasta.intra> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS2cP-000709-IQ for guix-devel@gnu.org; Tue, 26 Jul 2016 09:41:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS2cK-0005LG-6x for guix-devel@gnu.org; Tue, 26 Jul 2016 09:41:56 -0400 Received: from de.cellform.com ([88.217.224.109]:37502 helo=jocasta.intra) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS2cJ-0005L3-UE for guix-devel@gnu.org; Tue, 26 Jul 2016 09:41:52 -0400 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yes. I have run into the problem. Sadly, no I didn't work out how to fix = it. But during trying I did decide one thing - I will never use CMake in any of my own projects. J' On Tue, Jul 26, 2016 at 03:30:48PM +0200, David Craven wrote: Hi, =20 A package I'm working on depends on both qtbase and qtdeclarative. In the configure phase I get an error that Qt5Config.cmake doesn't find Qt5QmlConfig.cmake. When I use a snippet to remove this check I get: =20 ```scheme (snippet '(substitute* "CMakeLists.txt" (("find_package.*Qt5.*Qml Quick.*\n") "find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core DBus Gui)\n"))))) ``` =20 ```sh CMake Error at /gnu/store/ngnz5l2v22a6wnr7lshlm02jykmhzl3z-qtdeclarati= ve-5.6.1-1/lib/cmake/Qt5Qml/Qt5QmlConfig.cmake:87 (find_package): Could not find a package configuration file provided by "Qt5Network" (requested version 5.6.1) with any of the following names: =20 Qt5NetworkConfig.cmake qt5network-config.cmake =20 Add the installation prefix of "Qt5Network" to CMAKE_PREFIX_PATH or = set "Qt5Network_DIR" to a directory containing one of the above files. = If "Qt5Network" provides a separate development package or SDK, be sure= it has been installed. Call Stack (most recent call first): declarative/compositor/CMakeLists.txt:2 (find_package) ``` The CMAKE_PREFIX_PATH seems to be set correctly and no matter what CMAKE_PREFIX_PATH or other env variables I set I keep getting one or the other error. =20 Has some else run into this issue and managed to fix it? =20 David --=20 Avoid eavesdropping. Send strong encryted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAleXaJsACgkQimdxnC3oJ7NbPgCcCU7kTOnZjIenCESf4ZY1UP/4 I0IAmwVC6VfiQgWfvdwUMVyctG6kkIgk =9bYy -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--