Bug 475451

Summary: Web browser is not listed in widget explorer
Product: [Unmaintained] kdeplasma-addons Reporter: Fushan Wen <qydwhotmail>
Component: Web BrowserAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alexander.lohnau, nate
Priority: NOR Keywords: qt6, regression
Version First Reported In: master   
Target Milestone: ---   
Platform: openSUSE   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Fushan Wen 2023-10-11 01:49:05 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open widget explorer
2. search "web browser"
3. 

OBSERVED RESULT
Nothing is listed

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: kdeplasma-addons at ff5fb0cdb7f1d685d4e3b2a35720a8ba96323793
KDE Frameworks Version: p-f at 6e1f26a77223e57191a5721bdefc00fe2a72c41c
Qt Version: 6.5.3

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-10-12 20:51:40 UTC
Hmm, I see it.
Comment 2 Alexander Lohnau 2023-10-13 20:30:33 UTC
find_package(Qt6WebEngineQuick ${QT_MIN_VERSION} CONFIG)
set_package_properties(Qt6WebEngine PROPERTIES
    PURPOSE "Needed by the web browser applet"
    URL "https://doc.qt.io/qt-5/qtwebengine-index.html"
    TYPE OPTIONAL
)
if (Qt6WebEngineQuick_FOUND)
plasma_install_package(package org.kde.plasma.webbrowser)
endif()

Stupid question: You sure the package is found? I don't have it on my setup.
Comment 3 Fushan Wen 2023-10-16 09:39:26 UTC
Indeed, I need to install cmake(Qt6WebEngineQuick)