CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
ECM_MKSPECS_INSTALL_DIR
/var/pisi/sddm-kcm-6.6.2-101/work/sddm-kcm-6.6.2/sddmauthhelper.cpp: In function ‘QSharedPointer openConfig(const QString&)’:
/var/pisi/sddm-kcm-6.6.2-101/work/sddm-kcm-6.6.2/sddmauthhelper.cpp:46:18: warning: ignoring return value of ‘virtual bool QFile::open(QIODeviceBase::OpenMode)’, declared with attribute ‘nodiscard’ [-Wunused-result]
46 | file.open(QIODevice::WriteOnly);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qdir.h:11,
from /usr/include/qt6/QtCore/QDir:1,
from /var/pisi/sddm-kcm-6.6.2-101/work/sddm-kcm-6.6.2/sddmauthhelper.cpp:16:
/usr/include/qt6/QtCore/qfile.h:291:32: note: declared here
291 | QFILE_MAYBE_NODISCARD bool open(OpenMode flags) override;
| ^~~~