Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523516 - Missing Qt5DeclarativeConfig.cmake
Summary: Missing Qt5DeclarativeConfig.cmake
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-23 09:45 UTC by DrSlony
Modified: 2014-09-23 10:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2014-09-23 09:45:11 UTC
I am trying to compile a program which requires Qt5.
I followed the guide http://wiki.gentoo.org/wiki/Qt/Qt5 and emerged @qt5-essentials. I emerged =dev-qt/qtdeclarative-5.4.0_alpha but cannot find Qt5DeclarativeConfig.cmake anywhere.

/*---
CMake Warning at CMakeLists.txt:25 (find_package):
  By not providing "FindQt5Declarative.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5Declarative", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Declarative"
  with any of the following names:

    Qt5DeclarativeConfig.cmake
    qt5declarative-config.cmake

  Add the installation prefix of "Qt5Declarative" to CMAKE_PREFIX_PATH or set
  "Qt5Declarative_DIR" to a directory containing one of the above files.  If
  "Qt5Declarative" provides a separate development package or SDK, be sure it
  has been installed.
---*/

/*---
find /usr/lib64/cmake/ -iname "*declarative*"
/usr/lib64/cmake/KDeclarative
/usr/lib64/cmake/KDeclarative/KDeclarativeConfigVersion.cmake
/usr/lib64/cmake/KDeclarative/KDeclarativeLibraryTargets.cmake
/usr/lib64/cmake/KDeclarative/KDeclarativeConfig.cmake
/usr/lib64/cmake/KDeclarative/KDeclarativeLibraryTargets-gentoo.cmake

# eix qtdeclarative
[I] dev-qt/qtdeclarative
     Available versions:
     (4)    4.8.5 [M]~4.8.6[1] [M]**4.8.9999[1]
     (5)    [M]~5.3.2^t **5.3.9999[1] (~)5.4.0_alpha[1] **5.4.9999[1] **5.9999[1]
       {+accessibility aqua debug +exceptions gles2 localstorage pch qt3support test webkit +widgets xml ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  4.8.5(4)(18:18:41 2013-11-07)(accessibility exceptions qt3support webkit -aqua -debug -pch) 5.4.0_alpha(5)[1](13:36:48 2014-09-22)(widgets xml -debug -gles2 -localstorage -test)
     Homepage:            https://qt-project.org/
     Description:         The QML and Quick modules for the Qt5 framework

[1] "qt" /var/lib/layman/qt
---*/

/usr/lib64/cmake/ contains all of the Qt5 package folders which contain the .cmake files except one for Qt5Declarative.

Is this a bug? I so, is it an upstream bug, or something wrong with the ebuild?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-23 10:02:28 UTC
# e-file Qt5DeclarativeConfig.cmake
[I] dev-qt/qtquick1
        Available Versions:     5.3.2 5.3.1-r3 
        Last Installed Ver:     5.3.0_beta(Fri 11 Apr 2014 18:37:11 CEST)
        Description:            Legacy declarative framework for Qt4 compatibility for building dynamic user interfaces
        Matched Files:          /usr/lib64/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake;




dev-qt/qtquick1 apparently. What bug are we here to fix, again?
Comment 2 DrSlony 2014-09-23 10:59:10 UTC
Thank you.