Bug 497779 - "Desktop effects" KCM cannot load: Type NewStuff.Page unavailable
Summary: "Desktop effects" KCM cannot load: Type NewStuff.Page unavailable
Status: RESOLVED NOT A BUG
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwineffects (show other bugs)
Version: 6.2.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 495338 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-12-22 13:21 UTC by Alexander Potashev
Modified: 2024-12-28 16:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot ru_RU (106.53 KB, image/png)
2024-12-22 13:21 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2024-12-22 13:21:20 UTC
Created attachment 176821 [details]
screenshot ru_RU

SUMMARY
"Desktop effects" KCM cannot load: Type NewStuff.Page unavailable.

STEPS TO REPRODUCE
1. Run systemsettings
2. Open "desktop effects" page
3. 

OBSERVED RESULT
QML errors.

EXPECTED RESULT
The UI should work or provide instructions for troubleshooting.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-200.fc41.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.4 ГиБ of RAM
Graphics Processor: Mesa Intel® HD Graphics 530

ADDITIONAL INFORMATION
Comment 1 Alexander Potashev 2024-12-22 13:26:14 UTC
Error text:

```
qrc:/kcm/kcm_kwin_effects/main.qml:24 Type NewStuff.Action unavailable
qrc:/qt/qml/org/kde/newstuff/Action.qml:160 Type NewStuff.Page unavailable
file:///usr/lib64/qt5/qml/org/kde/newstuff/Page.qml:18 Модуль «/usr/lib64/qt5/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.so» использует несоместимую библиотеку Qt. (5.15.0) [release]
```
Comment 2 Nicolas Fella 2024-12-23 11:45:24 UTC
Translated error message: "uses incompatible Qt library. (5.15.0) [release]"

This is some sort of setup/installation issue, it's trying to load a Qt5 library
Comment 3 Alexander Potashev 2024-12-24 12:41:26 UTC
It's not clear to me what a distro is supposed to do here for a fix.

The path file:///usr/lib64/qt5/qml/org/kde/newstuff/Page.qml belongs to installed package kf5-knewstuff-5.116.0-2.fc41. kf6-knewstuff-6.9.0-1.fc41 is also co-installed. Isn't the KCM supposed to find the compatible QML component at /usr/lib64/qt6/qml/org/kde/newstuff/Page.qml? If so, there's no installation issue then.
Comment 4 Alexander Potashev 2024-12-28 16:17:58 UTC
*** Bug 495338 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Potashev 2024-12-28 16:18:56 UTC
Oops, I had "export QML2_IMPORT_PATH=/usr/lib64/qt5/qml" in ~/.bashrc. Solved the problem by removing that line.