Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539008 - =media-gfx/photoqt-1.1.0.1 should depend on dev-qt/qtwidgets
Summary: =media-gfx/photoqt-1.1.0.1 should depend on dev-qt/qtwidgets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 23:19 UTC by eroen
Modified: 2015-02-06 13:48 UTC (History)
0 users

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 eroen 2015-02-05 23:19:48 UTC
photoqt-1.1.0.1/CMakeLists.txt has:

    ################################
    #### FIND REQUIRED PACKAGES ####
    ################################
    
    FIND_PACKAGE(Qt5Widgets REQUIRED)
    FIND_PACKAGE(Qt5LinguistTools REQUIRED)

When dev-qt/qtwidgets:5 is not installed, this causes an error:

    CMake Error at CMakeLists.txt:90 (FIND_PACKAGE):
      By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
      has asked CMake to find a package configuration file provided by
      "Qt5Widgets", but CMake did not find one.
    
      Could not find a package configuration file provided by "Qt5Widgets" with
      any of the following names:
    
        Qt5WidgetsConfig.cmake
        qt5widgets-config.cmake
    
      Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
      "Qt5Widgets_DIR" to a directory containing one of the above files.  If
      "Qt5Widgets" provides a separate development package or SDK, be sure it has
      been installed.
    
    
    -- Configuring incomplete, errors occurred!


eroen@occam ~ $ e-file Qt5WidgetsConfig.cmake
 *  dev-qt/qtwidgets
	Available Versions:	5.3.1-r3 5.4.0 5.3.2 
	Description:		Set of UI elements for creating classic desktop-style user interfaces for the Qt5 framework
	Matched Files:		/usr/libx32/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake; /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake; /usr/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake; 

eroen@occam ~ $ e-file qt5widgets-config.cmake
No matches found.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2015-02-06 13:48:51 UTC
+  06 Feb 2015; Ben de Groot <yngwin@gentoo.org> +photoqt-1.2.ebuild,
+  photoqt-1.1.0.1.ebuild:
+  fix deps (bug #539008); version bump

Thanks for reporting!