all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* packaging qt applications
@ 2016-07-26 13:30 David Craven
  2016-07-26 13:41 ` John Darrington
  2016-07-26 14:18 ` Andreas Enge
  0 siblings, 2 replies; 7+ messages in thread
From: David Craven @ 2016-07-26 13:30 UTC (permalink / raw)
  To: guix-devel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-07-26 19:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-26 13:30 packaging qt applications David Craven
2016-07-26 13:41 ` John Darrington
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.