From: John Darrington <john@darrington.wattle.id.au>
To: David Craven <david@craven.ch>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: packaging qt applications
Date: Tue, 26 Jul 2016 15:41:48 +0200 [thread overview]
Message-ID: <20160726134147.GA8710@jocasta.intra> (raw)
In-Reply-To: <CAL1_im=G9xPu0wYmT8Kh9hCM3FfL=OVnkqjVn2u0_Cuv7skSjg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1993 bytes --]
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,
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:
```scheme
(snippet
'(substitute* "CMakeLists.txt"
(("find_package.*Qt5.*Qml Quick.*\n")
"find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core
DBus Gui)\n")))))
```
```sh
CMake Error at /gnu/store/ngnz5l2v22a6wnr7lshlm02jykmhzl3z-qtdeclarative-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:
Qt5NetworkConfig.cmake
qt5network-config.cmake
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.
Has some else run into this issue and managed to fix it?
David
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2016-07-26 13:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-26 13:30 packaging qt applications David Craven
2016-07-26 13:41 ` John Darrington [this message]
2016-07-26 14:18 ` Andreas Enge
2016-07-26 14:43 ` David Craven
2016-07-26 18:55 ` Andreas Enge
2016-07-26 19:12 ` David Craven
2016-07-26 19:19 ` David Craven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160726134147.GA8710@jocasta.intra \
--to=john@darrington.wattle.id.au \
--cc=david@craven.ch \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).