Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building /src/activity.cpp:43:107: warning: ‘void KWindowSystem::windowChanged(WId)’ is deprecated #14

Open
HougeLangley opened this issue Jan 4, 2022 · 1 comment

Comments

@HougeLangley
Copy link

Gentoo-CutefishOS ~/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build # cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Configuring done
-- Generating done
-- Build files have been written to: /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build
Gentoo-CutefishOS ~/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build # make -j48
[  1%] Generating be_Latn.qm
[  1%] Generating be_BY.qm
[  2%] Generating ar_AA.qm
[  3%] Generating bs_BA.qm
[  5%] Generating en_US.qm
[  5%] Generating cs_CZ.qm
[  7%] Generating da_DK.qm
[  7%] Generating eo_XX.qm
[  9%] Generating de_DE.qm
[  9%] Generating bg_BG.qm
[ 10%] Generating es_ES.qm
[ 11%] Generating fa_IR.qm
[ 11%] Generating es_MX.qm
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/be_BY.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/be_Latn.qm'...
[ 13%] Generating he_IL.qm
[ 13%] Generating fi_FI.qm
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 14%] Generating fr_FR.qm
[ 15%] Generating hi_IN.qm
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/ar_AA.qm'...
[ 16%] Generating hu_HU.qm
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 17%] Generating id_ID.qm
[ 17%] Generating ie.qm
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/bs_BA.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/cs_CZ.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/da_DK.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 18%] Generating it_IT.qm
[ 19%] Generating lt_LT.qm
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/bg_BG.qm'...
[ 20%] Generating ja_JP.qm
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/eo_XX.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 9 untranslated source text(s)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/es_ES.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/en_US.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/fa_IR.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/de_DE.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/fi_FI.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/es_MX.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/id_ID.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/he_IL.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/fr_FR.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/hi_IN.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/it_IT.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/hu_HU.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/ja_JP.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/ie.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/lt_LT.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 21%] Generating lv_LV.qm
[ 22%] Generating ml_IN.qm
[ 23%] Generating ne_NP.qm
[ 24%] Generating nb_NO.qm
[ 25%] Generating pt_PT.qm
[ 25%] Generating pl_PL.qm
[ 26%] Generating mg.qm
[ 27%] Generating ru_RU.qm
[ 28%] Generating si_LK.qm
[ 29%] Generating pt_BR.qm
[ 30%] Generating sr_RS.qm
[ 31%] Generating ro_RO.qm
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/ml_IN.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/lv_LV.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 31%] Generating sv_SE.qm
[ 32%] Generating so.qm
[ 33%] Generating sk_SK.qm
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/nb_NO.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/ne_NP.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/pt_PT.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/pl_PL.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/pt_BR.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/mg.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/sr_RS.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/sv_SE.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/ru_RU.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 34%] Generating sw.qm
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/si_LK.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/sk_SK.qm'...
    Generated 4 translation(s) (4 finished and 0 unfinished)
    Ignored 5 untranslated source text(s)
[ 35%] Generating tr_TR.qm
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 36%] Generating ta_IN.qm
[ 37%] Generating uk_UA.qm
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/ro_RO.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/so.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 38%] Generating zh_CN.qm
[ 41%] Generating zh_TW.qm
[ 41%] Generating vi_VN.qm
[ 41%] Generating uz_UZ.qm
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/sw.qm'...
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/tr_TR.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/uk_UA.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/ta_IN.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/vi_VN.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/zh_TW.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/zh_CN.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
Updating '/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/build/uz_UZ.qm'...
    Generated 9 translation(s) (9 finished and 0 unfinished)
[ 82%] Built target translations
[ 83%] Automatic MOC and UIC for target cutefish-dock
[ 83%] Built target cutefish-dock_autogen
[ 85%] Automatic RCC for resources.qrc
[ 85%] Generating dockadaptor.cpp, dockadaptor.h
[ 85%] Generating dockadaptor.moc
[ 86%] Building CXX object CMakeFiles/cutefish-dock.dir/cutefish-dock_autogen/mocs_compilation.cpp.o
[ 87%] Building CXX object CMakeFiles/cutefish-dock.dir/src/docksettings.cpp.o
[ 88%] Building CXX object CMakeFiles/cutefish-dock.dir/src/applicationmodel.cpp.o
[ 89%] Building CXX object CMakeFiles/cutefish-dock.dir/src/systemappmonitor.cpp.o
[ 90%] Building CXX object CMakeFiles/cutefish-dock.dir/src/main.cpp.o
[ 91%] Building CXX object CMakeFiles/cutefish-dock.dir/src/iconthemeimageprovider.cpp.o
[ 92%] Building CXX object CMakeFiles/cutefish-dock.dir/src/trashmanager.cpp.o
[ 93%] Building CXX object CMakeFiles/cutefish-dock.dir/src/xwindowinterface.cpp.o
[ 93%] Building CXX object CMakeFiles/cutefish-dock.dir/src/mainwindow.cpp.o
[ 94%] Building CXX object CMakeFiles/cutefish-dock.dir/src/systemappitem.cpp.o
[ 95%] Building CXX object CMakeFiles/cutefish-dock.dir/src/processprovider.cpp.o
[ 97%] Building CXX object CMakeFiles/cutefish-dock.dir/src/fakewindow.cpp.o
[ 97%] Building CXX object CMakeFiles/cutefish-dock.dir/src/utils.cpp.o
[ 98%] Building CXX object CMakeFiles/cutefish-dock.dir/dockadaptor.cpp.o
[ 98%] Building CXX object CMakeFiles/cutefish-dock.dir/cutefish-dock_autogen/EWIEGA46WW/qrc_resources.cpp.o
[ 99%] Building CXX object CMakeFiles/cutefish-dock.dir/src/activity.cpp.o
/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/activity.cpp: In constructor ‘Activity::Activity(QObject*)’:
/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/activity.cpp:43:107: warning: ‘void KWindowSystem::windowChanged(WId)’ is deprecated: Since 5.80. Use KWindowSystem::windowChanged(WId, NET::Properties, NET::Properties2) [-Wdeprecated-declarations]
   43 |     connect(KWindowSystem::self(), static_cast<void (KWindowSystem::*)(WId)>(&KWindowSystem::windowChanged),
      |                                                                                                           ^
In file included from /usr/include/KF5/KWindowSystem/KWindowSystem:1,
                 from /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/activity.cpp:24:
/usr/include/KF5/KWindowSystem/kwindowsystem.h:820:10: note: declared here
  820 |     void windowChanged(WId id); // clazy:exclude=overloaded-signal
      |          ^~~~~~~~~~~~~
/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/activity.cpp:43:107: warning: ‘void KWindowSystem::windowChanged(WId)’ is deprecated: Since 5.80. Use KWindowSystem::windowChanged(WId, NET::Properties, NET::Properties2) [-Wdeprecated-declarations]
   43 |     connect(KWindowSystem::self(), static_cast<void (KWindowSystem::*)(WId)>(&KWindowSystem::windowChanged),
      |                                                                                                           ^
In file included from /usr/include/KF5/KWindowSystem/KWindowSystem:1,
                 from /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/activity.cpp:24:
/usr/include/KF5/KWindowSystem/kwindowsystem.h:820:10: note: declared here
  820 |     void windowChanged(WId id); // clazy:exclude=overloaded-signal
      |          ^~~~~~~~~~~~~
/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/xwindowinterface.cpp: In member function ‘void XWindowInterface::enableBlurBehind(QWindow*, bool, const QRegion&)’:
/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/xwindowinterface.cpp:56:37: warning: ‘void KWindowEffects::enableBlurBehind(WId, bool, const QRegion&)’ is deprecated: Since 5.82. Use enableBlurBehind(QWindow) overload [-Wdeprecated-declarations]
   56 |     KWindowEffects::enableBlurBehind(view->winId(), enable, region);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWindowSystem/KWindowEffects:1,
                 from /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/xwindowinterface.h:29,
                 from /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/xwindowinterface.cpp:20:
/usr/include/KF5/KWindowSystem/kwindoweffects.h:162:6: note: declared here
  162 | void enableBlurBehind(WId window, bool enable = true, const QRegion &region = QRegion());
      |      ^~~~~~~~~~~~~~~~
/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/mainwindow.cpp: In member function ‘void MainWindow::initSlideWindow()’:
/root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/mainwindow.cpp:289:32: warning: ‘void KWindowEffects::slideWindow(WId, KWindowEffects::SlideFromLocation, int)’ is deprecated: Since 5.82. Use slideWindow(QWindow) overload [-Wdeprecated-declarations]
  289 |     KWindowEffects::slideWindow(winId(), location);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWindowSystem/KWindowEffects:1,
                 from /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/xwindowinterface.h:29,
                 from /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/applicationmodel.h:26,
                 from /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/mainwindow.h:28,
                 from /root/test/dock-eec8dd984be3ddddae1a674580bafbf0998df7e4/src/mainwindow.cpp:20:
/usr/include/KF5/KWindowSystem/kwindoweffects.h:65:6: note: declared here
   65 | void slideWindow(WId id, SlideFromLocation location, int offset = -1);
      |      ^~~~~~~~~~~
[100%] Linking CXX executable cutefish-dock
[100%] Built target cutefish-dock
@HougeLangley
Copy link
Author

Build success, but I do think these "warning" may help you guys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant