KWallet fails to build under KF6-Qt6 [kwallet_interface.h:210:1: error: Not a signal or slot declaration]
Following this guide, I've managed to build Qt6 (version 6.5) and all other KDE Frameworks using kdesrc-build successfully, except for:
- KWallet
- Those which directly or indirectly depend on KJobWidgets, which has the same error as KWallet (see kjobwidgets#1 (closed))
- Others (unrelated): AppStream (see sdk/kdesrc-build#123 (closed))
Here are the lines 13-20 of my ~/kde6/src/log/2023-06-09-02/kwallet/build.log file:
[ 7%] Generating kwallet_interface.cpp, kwallet_interface.h
[ 7%] Building CXX object src/runtime/kwalletd/backend/CMakeFiles/KF6WalletBackend.dir/cbc.cc.o
[ 7%] Generating moc_kwallet_interface.cpp
/home/danielpg/kde6/build/kwallet/src/api/KWallet/kwallet_interface.h:210:1: error: Not a signal or slot declaration
make[2]: *** [src/api/KWallet/CMakeFiles/KF6Wallet.dir/build.make:74: src/api/KWallet/moc_kwallet_interface.cpp] Error 1
make[1]: *** [CMakeFiles/Makefile2:598: src/api/KWallet/CMakeFiles/KF6Wallet.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....```
Unfortunately, I'm still a complete noob about how Qt works, so i have no idea about what's going on here. Please let me know if more information is needed.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
Kernel Version: 6.1.31-2-MANJARO (64-bit)
Edited by Daniel Paulo Garcia