KENCFS - Cannot compile on leap 15.1

Hello.
I could not compile on leap 15.1.

user_install@gjz-virt:/tmp/000_TEST/kencfs-plasma-2.0.2b> qmake-qt5
Info: creating stash file /tmp/000_TEST/kencfs-plasma-2.0.2b/.qmake.stash
user_install@gjz-virt:/tmp/000_TEST/kencfs-plasma-2.0.2b> make
/usr/lib64/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h
/usr/lib64/qt5/bin/uic fsdialog.ui -o ui_fsdialog.h
/usr/lib64/qt5/bin/uic configdialog.ui -o ui_configdialog.h
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQAPPLICATION_CLASS=QApplication -DKENCFS_TRANSLATIONS=\"/usr/share/kencfs-plasma/translations/\" -DKENCFS_ICONS=\"/usr/share/icons/kencfs-plasma\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/KF5/KWallet -isystem /usr/include/KF5/KNotifications -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp
g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQAPPLICATION_CLASS=QApplication -DKENCFS_TRANSLATIONS=\"/usr/share/kencfs-plasma/translations/\" -DKENCFS_ICONS=\"/usr/share/icons/kencfs-plasma\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/KF5/KWallet -isystem /usr/include/KF5/KNotifications -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o mainwindow.o mainwindow.cpp
mainwindow.cpp:55:10: fatal error: KDE/KWallet/Wallet: No such file or directory
 #include <KDE/KWallet/Wallet>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1000: mainwindow.o] Error 1

the following libraries are installed:

kwallet-devel, kconfig-devel, knotifications-devel, kxmlgui-devel, kconfigwidgets-devel, kwidgetsaddons-devel, kdbusaddons-devel

The following Pattern are installed :

Minimal Base System;  Enhanced Base System;  AppArmor;  Laptop;  Yast;  Kde Plasma 5; Desktop Base;  Kde Applications and Plasma 5 Desktop;  Fonts; XC Windows System; multimedia; Office; Games; Base Devlopment; Kde Framworks and Plasma Devlopment; C/C++ Dev; Rpm BUild Env; Linux Kernel Devlopment; Qt5 Devlopment; 

It compile without error on 15.0

But I don’t know how to find what is missing comparing to my leap 15.0 install.

Any help is welcome.

Looks to me you have a broken location…

fatal error: KDE/KWallet/Wallet: No such file or directory

I don’t know what you’re building so can’t speculate why the path is broken…
Either something was supposed to already be at that location that needs to be retrieved or can’t write to that location because it doesn’t exist.

Speculating a bit,
TSU

From #1 :

g++ -c -pipe -O2 -std=gnu++11 .......................  -I. -I. -isystem /usr/include/KF5/KWallet -isystem /usr/include/KF5/KNotifications ......

These path exists.

The problem comes from this part of code

QStandardItemModel *model;

#include <KDE/KWallet/Wallet>
using KWallet::Wallet;
Wallet *m_wallet;
QString WalletFolder="Kencfs-Plasma";
bool wallet_opened = false;

mainwindow.cpp:55:10: fatal error: KDE/KWallet/Wallet: No such file or directory
 #include <KDE/KWallet/Wallet>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1000: mainwindow.o] Error 1

It compile without error on 15.0 on 2 other computers running 15.0

But I don’t know how to find what is missing comparing to my leap 15.1 new install.

Any help is welcome.

I think its for kde4…

In the source of 2.0.3.a:

QStandardItemModel *model;

#include <KWallet>
using KWallet::Wallet;
Wallet *m_wallet;
QString WalletFolder="Kencfs-Plasma";
bool wallet_opened = false;

This will compile with a warning:
https://aur.archlinux.org/cgit/aur.git/snapshot/kencfs-plasma.tar.gz

Its 2.0.3.a

Thank you.
I have a try tomorrow.