Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949916 - dev-qt/qt-creator-9999 automagically links to dev-qt/qtwebsockets
Summary: dev-qt/qt-creator-9999 automagically links to dev-qt/qtwebsockets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 17:05 UTC by Eugene Shalygin
Modified: 2025-02-19 11:39 UTC (History)
2 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 2025-02-18 17:05:12 UTC
!!! existing preserved libs:
>>> package: dev-qt/qtwebsockets-6.8.2
 *  - /usr/lib64/libQt6WebSockets.so.6
 *  - /usr/lib64/libQt6WebSockets.so.6.8.2
 *      used by /usr/lib/qtcreator/plugins/libQmlDesigner.so (dev-qt/qt-creator-9999)

Reproducible: Always
Comment 1 Eugene Shalygin 2025-02-18 17:06:29 UTC
I guess it should be dev-qt/qtwebsockets[qml]
Comment 2 Ionen Wolkens gentoo-dev 2025-02-19 08:29:25 UTC
For the record, what USE did you build it with? Also, is your libQmlDesigner.so linked with webengine? (regardless of USE=-webengine, assuming webengine is installed at all).

Asking given seems the new websockets line newly added a (automagic) webengine dependency too:

    find_package(Qt6 QUIET COMPONENTS WebSockets WebEngineWidgets)

This used to have "REQUIRED", but a later commit made both optional.

Might not be worth introducing a USE=websockets on such a big package though, I'll probably just add the dependency to USE=qmldesigner.

For webengine, might need a DISABLE_FIND_PACKAGE to drop the automagic, and update the metadata.xml USE=webengine description.

(In reply to Eugene Shalygin from comment #1)
> I guess it should be dev-qt/qtwebsockets[qml]
Maybe not, even though it's used by qmldesigner, that it's using the library means that it's probably not using the qml imports (which wouldn't need to link with it). Using both is rare but not impossible though, haven't looked too closely.
Comment 3 Ionen Wolkens gentoo-dev 2025-02-19 08:59:50 UTC
> (In reply to Eugene Shalygin from comment #1)
> > I guess it should be dev-qt/qtwebsockets[qml]
> Maybe not, even though it's used by qmldesigner, that it's using the library
> means that it's probably not using the qml imports (which wouldn't need to
> link with it). Using both is rare but not impossible though, haven't looked
> too closely.
(just looked and the new code doesn't use QML that I can see)
Comment 4 Eugene Shalygin 2025-02-19 09:31:08 UTC
(In reply to Ionen Wolkens from comment #2)

Here the use-flags for qt-creator, please:

dev-qt/qt-creator-9999::gentoo was built with the following:
USE="clang designer help plugin-dev qmldesigner svg tracing webengine -cmdbridge-server -doc -keyring -serialterminal -test" ABI_X86="(64)" LLVM_SLOT="19 -15 -16 -17 -18"


libQmlDesigner.so is linked to libQt6WebEngineWidgets.so.6 and libQt6WebEngineCore.so.6.
Comment 5 Larry the Git Cow gentoo-dev 2025-02-19 11:39:16 UTC
The bug has been closed via the following commit(s):

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

commit d53edb82fb568c21f9770835a23863018fc58192
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-02-19 10:42:47 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-02-19 11:38:51 +0000

    dev-qt/qt-creator: update live
    
    Only for obvious changes and not tested much, will look more
    in-depth for if anything else needs updates when 16.x releases.
    
    Closes: https://bugs.gentoo.org/949916
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qt-creator/metadata.xml           | 6 +++++-
 dev-qt/qt-creator/qt-creator-9999.ebuild | 6 ++++++
 2 files changed, 11 insertions(+), 1 deletion(-)