qt6-qt5compat-6.8.0-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
qt6-qt5compat-6.8.0-build/qt5compat-everywhere-src-6.8.0/examples/core5/widgets/tools/codecs/mainwindow.cpp: scope_hint: In member function ‘void MainWindow::createMenus()’
qt6-qt5compat-6.8.0-build/qt5compat-everywhere-src-6.8.0/examples/core5/widgets/tools/codecs/mainwindow.cpp:158:48: warning[-Wdeprecated-declarations]: ‘constexpr QKeyCombination Qt::operator+(Modifier, Key)’ is deprecated: Use operator| instead
#  158 |     encodingAction->setShortcut(Qt::CTRL + Qt::Key_E);
#      |                                                ^~~~~
/usr/include/qt6/QtCore/qarraydataops.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/qarraydatapointer.h:7: included_from: Included from here.
/usr/include/qt6/QtCore/qlist.h:8: included_from: Included from here.
/usr/include/qt6/QtCore/QList:1: included_from: Included from here.
qt6-qt5compat-6.8.0-build/qt5compat-everywhere-src-6.8.0/examples/core5/widgets/tools/codecs/mainwindow.h:7: included_from: Included from here.
qt6-qt5compat-6.8.0-build/qt5compat-everywhere-src-6.8.0/examples/core5/widgets/tools/codecs/mainwindow.cpp:4: included_from: Included from here.
/usr/include/qt6/QtCore/qnamespace.h:1972:27: note: declared here
# 1972 | constexpr QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key) noexcept
#      |                           ^~~~~~~~
#  156|       auto toolMenu =  menuBar()->addMenu(tr("&Tools"));
#  157|       auto encodingAction = toolMenu->addAction(tr("Encodings"), this, &MainWindow::encodingDialog);
#  158|->     encodingAction->setShortcut(Qt::CTRL + Qt::Key_E);
#  159|       encodingAction->setToolTip(tr("Shows a dialog allowing to convert to common encoding in programming languages."));
#  160|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-235.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameqt6-qt5compat-6.8.0-1.fc42
store-results-to/tmp/tmp6ge31xmf/qt6-qt5compat-6.8.0-1.fc42.tar.xz
time-created2024-11-13 02:56:15
time-finished2024-11-13 02:58:21
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp6ge31xmf/qt6-qt5compat-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp6ge31xmf/qt6-qt5compat-6.8.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9