You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
While trying to hand compile scap-workbench v1.2.1 for Rocky Linux v8.6 I am receiving the following error message during the make call.
/home/openscap-service/Downloads/scap-workbench-1.2.1/src/SaveAsRPMDialog.cpp: In member function ‘void SaveAsRPMDialog::slotFinished(int)’:
/home/openscap-service/Downloads/scap-workbench-1.2.1/src/SaveAsRPMDialog.cpp:89:42: error: ‘QList<T> QSet<T>::toList() const [with T = QString]’ is deprecated: Use values() instead. [-Werror=deprecated-declarations]
closureOrdered.append(closure.toList());
^
In file included from /usr/include/qt5/QtCore/QSet:1,
from /home/openscap-service/Downloads/scap-workbench-1.2.1/include/ScanningSession.h:28,
from /home/openscap-service/Downloads/scap-workbench-1.2.1/src/SaveAsRPMDialog.cpp:24:
/usr/include/qt5/QtCore/qset.h:265:14: note: declared here
QList<T> toList() const { return values(); }
^~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/scap-workbench.dir/build.make:398: CMakeFiles/scap-workbench.dir/src/SaveAsRPMDialog.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/scap-workbench.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Granted, I know that scap-workbench has v1.2.0 available via Rocky's package repositories. However, I wanted to test this while "breaking in" Rocky as well.
From what I am reading it seems that there are some deprecated QT calls while compiling which errors out make.
Questions and/or feedback are welcomed. Thanks for everyone's time and assistance in advance.
The text was updated successfully, but these errors were encountered:
While trying to hand compile scap-workbench v1.2.1 for Rocky Linux v8.6 I am receiving the following error message during the
make
call.Granted, I know that scap-workbench has v1.2.0 available via Rocky's package repositories. However, I wanted to test this while "breaking in" Rocky as well.
From what I am reading it seems that there are some deprecated QT calls while compiling which errors out
make
.Questions and/or feedback are welcomed. Thanks for everyone's time and assistance in advance.
The text was updated successfully, but these errors were encountered: