https://bugs.kde.org/show_bug.cgi?id=436798
Bug ID: 436798
Summary: kaffeine-2.0.18 w/ KF5WindowSystem built without
<=5.62 deprecated API: src/main.cpp:183:32: error:
cannot convert ‘QPointer<MainWindow>’ to ‘QWindow*’
Product: kaffeine
Version: unspecified
Platform: Compiled Sources
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 138259
--> https://bugs.kde.org/attachment.cgi?id=138259&action=edit
build.log
SUMMARY
kaffeine is using deprecated API that will be removed with KF6. It would be
nice to already port away from it.
STEPS TO REPRODUCE
1. Build KF5WindowSystem with -DKWINDOWSYSTEM_NO_WIDGETS
2. This implies EXCLUDE_DEPRECATED_BEFORE_AND_AT "5.62.0"
3. Try to build kaffeine against that library
OBSERVED RESULT
> kaffeine-2.0.18/src/main.cpp:183:32: error: cannot convert
> ‘QPointer<MainWindow>’ to ‘QWindow*’
> 183 | KStartupInfo::setNewStartupId(mainWindow, KStartupInfo::startupId());
> | ^~~~~~~~~~
> | |
> | QPointer<MainWindow>
> In file included from /usr/include/KF5/KWindowSystem/KStartupInfo:1,
> from kaffeine-2.0.18/work/kaffeine-2.0.18/src/main.cpp:25:
> /usr/include/KF5/KWindowSystem/kstartupinfo.h:93:42: note: initializing
> argument 1 of ‘static void KStartupInfo::setNewStartupId(QWindow*, const
> QByteArray&)’
> 93 | static void setNewStartupId(QWindow *window, const QByteArray
> &startup_id);
> | ~~~~~~~~~^~~~~~
SOFTWARE/OS VERSIONS
Operating System: Gentoo
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
--
You are receiving this mail because:
You are watching all bug changes.