Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914975

Summary: dev-qt/qtbase-6.5.2-r2 USE=gui may require USE=dbus
Product: Gentoo Linux Reporter: Esteve Varela Colominas <esteve.varela>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Esteve Varela Colominas 2023-09-30 15:34:41 UTC
I've encountered the following line in /usr/lib64/cmake/Qt6Gui/Qt6GuiDependencies.cmake

    set(_Qt6Gui_MODULE_DEPENDENCIES "Core;DBus")

Because of this line, any project requiring Qt6Gui as a cmake dependency will fail to comple because dbus is missing.

I wonder - is this a cmakeism, or does Qt6Gui require Qt6DBus in runtime as well?
Comment 1 Esteve Varela Colominas 2023-09-30 16:11:54 UTC
Nevermind, this cmake dependency is controlled by USE=dbus. Any package that optionally depends on QtDBus will need to propagate that flag with dev-qt/qtbase:6[dbus=]