Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928423 - dev-qt/qt-creator: please add use-flag to install development packages
Summary: dev-qt/qt-creator: please add use-flag to install development packages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Davide Pesavento
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-02 13:01 UTC by Eugene Shalygin
Modified: 2024-04-02 15:50 UTC (History)
3 users (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 Eugene Shalygin 2024-04-02 13:01:29 UTC
There are 3rd-party plugins for QtCreator, that require the Devel component to be installed. Please add a use-flag to install that.

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2024-04-02 13:22:54 UTC
I assume you mean the component that qt-creator (always) excludes?

Aka: "COMPONENT Devel EXCLUDE_FROM_ALL"

Suppose that will need its own install rule rather than just pass a switch, similarly to the first comment in https://bugreports.qt.io/browse/QTCREATORBUG-22514

Not familiar with building external plugins but I'll have look later.
Comment 2 Eugene Shalygin 2024-04-02 13:43:49 UTC
Yes, that component and those arguments for cmake --install. Thank you!
Comment 3 Larry the Git Cow gentoo-dev 2024-04-02 15:50:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed529e6ecf83a74ca626dcdff04a133b6675c188

commit ed529e6ecf83a74ca626dcdff04a133b6675c188
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-04-02 15:34:53 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-04-02 15:50:05 +0000

    dev-qt/qt-creator: install Devel component with IUSE=plugin-dev
    
    Tried to compile Qt Creator's HelloWorld plugin externally and it built
    fine with the USE enabled.
    
    Debated installing unconditionally, but it installs quite a lot of
    extras. Unsure about the IUSE name choice but it should hopefully do
    (did feel IUSE=devel would be a bit too generic sounding).
    
    Went for a bit hacky solution (for now) given --component integrates
    poorly with cmake.eclass and does not seem(?) other ebuilds have needed
    to do this yet in ::gentoo for ideas.
    
    Closes: https://bugs.gentoo.org/928423
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qt-creator/metadata.xml             |  3 ++-
 dev-qt/qt-creator/qt-creator-12.0.2.ebuild | 12 ++++++++++--
 dev-qt/qt-creator/qt-creator-9999.ebuild   | 12 ++++++++++--
 3 files changed, 22 insertions(+), 5 deletions(-)