dtkwidget-5.6.34-2.fc42

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/buttonexample.cpp: scope_hint: In lambda function
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/buttonexample.cpp:74:139: warning[-Wunused-parameter]: unused parameter ‘mode’
#   74 |     connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, [pButtonDisabled](DGuiApplicationHelper::SizeMode mode) {
#      |                                                                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
#   72|       pButtonDisabled->setFixedSize(DSizeModeHelper::element(QSize(200, 24), QSize(200, 36)));
#   73|       // connect `sizeModeChanged()` signal to update Size.
#   74|->     connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::sizeModeChanged, [pButtonDisabled](DGuiApplicationHelper::SizeMode mode) {
#   75|           pButtonDisabled->setFixedSize(DSizeModeHelper::element(QSize(200, 24), QSize(200, 36)));
#   76|       });

Error: COMPILER_WARNING (CWE-563): [#def2]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/buttonexample.cpp: scope_hint: In lambda function
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/buttonexample.cpp:405:53: warning[-Wunused-parameter]: unused parameter ‘mode’
#  405 |     auto updateButtonSize = [](QWidget *widget, int mode) {
#      |                                                 ~~~~^~~~
#  403|       DStyle::setFocusRectVisible(pButton_8, false);
#  404|   
#  405|->     auto updateButtonSize = [](QWidget *widget, int mode) {
#  406|           for (auto button : widget->findChildren<DIconButton *>(QString(), Qt::FindDirectChildrenOnly)) {
#  407|               if (button->iconSize() == QSize(16, 16)) {

Error: COMPILER_WARNING (CWE-477): [#def3]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/mainwindow.cpp: scope_hint: In lambda function
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/mainwindow.cpp:317:59: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  317 |                         double xscale = _printer->pageRect().width() / double(this->width());
#      |                                         ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtPrintSupport/QPrinter:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dprintpreviewwidget.h:18: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dprintpreviewsettinginfo.h:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dprintpreviewdialog.h:12: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/DWidget/DPrintPreviewDialog:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/mainwindow.cpp:28: included_from: Included from here.
/usr/include/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  315|                           // 给出调用方widget界面作为打印内容
#  316|   #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#  317|->                         double xscale = _printer->pageRect().width() / double(this->width());
#  318|                           double yscale = _printer->pageRect().height() / double(this->height());
#  319|                           double scale = qMin(xscale, yscale);

Error: COMPILER_WARNING (CWE-477): [#def4]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/mainwindow.cpp:318:59: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  318 |                         double yscale = _printer->pageRect().height() / double(this->height());
#      |                                         ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  316|   #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#  317|                           double xscale = _printer->pageRect().width() / double(this->width());
#  318|->                         double yscale = _printer->pageRect().height() / double(this->height());
#  319|                           double scale = qMin(xscale, yscale);
#  320|                           painter.translate(_printer->pageRect().width() / 2.0, _printer->pageRect().height() / 2.0);

Error: COMPILER_WARNING (CWE-477): [#def5]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/mainwindow.cpp:320:61: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  320 |                         painter.translate(_printer->pageRect().width() / 2.0, _printer->pageRect().height() / 2.0);
#      |                                           ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  318|                           double yscale = _printer->pageRect().height() / double(this->height());
#  319|                           double scale = qMin(xscale, yscale);
#  320|->                         painter.translate(_printer->pageRect().width() / 2.0, _printer->pageRect().height() / 2.0);
#  321|   #else
#  322|                           double xscale = _printer->pageLayout().paintRectPixels(_printer->resolution()).width() / double(this->width());

Error: COMPILER_WARNING (CWE-477): [#def6]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/mainwindow.cpp:320:97: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  320 |                         painter.translate(_printer->pageRect().width() / 2.0, _printer->pageRect().height() / 2.0);
#      |                                                                               ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  318|                           double yscale = _printer->pageRect().height() / double(this->height());
#  319|                           double scale = qMin(xscale, yscale);
#  320|->                         painter.translate(_printer->pageRect().width() / 2.0, _printer->pageRect().height() / 2.0);
#  321|   #else
#  322|                           double xscale = _printer->pageLayout().paintRectPixels(_printer->resolution()).width() / double(this->width());

Error: COMPILER_WARNING (CWE-477): [#def7]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/mainwindow.cpp:337:57: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  337 |                         QRectF rect = _printer->pageRect();
#      |                                       ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  335|                           font = QFont(font, painter.device());
#  336|   #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#  337|->                         QRectF rect = _printer->pageRect();
#  338|   #else
#  339|                           QRectF rect = _printer->pageLayout().paintRectPixels(_printer->resolution());

Error: COMPILER_WARNING (CWE-477): [#def8]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/widgetexample.cpp: scope_hint: In member function ‘virtual QVariant CalendarModel::data(const QModelIndex&, int) const’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/widgetexample.cpp:157:14: warning[-Wdeprecated-declarations]: ‘Qt::TextColorRole’ is deprecated
#  157 |     case Qt::TextColorRole: {
#      |              ^~~~~~~~~~~~~
/usr/include/qt5/QtCore/qobjectdefs.h:48: included_from: Included from here.
/usr/include/qt5/QtCore/qmetaobject.h:44: included_from: Included from here.
/usr/include/qt5/QtCore/QMetaMethod:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/global/dtkwidget_global.h:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/widgetexample.h:8: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/widgetexample.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qnamespace.h:1556:9: note: declared here
# 1556 |         TextColorRole Q_DECL_ENUMERATOR_DEPRECATED = ForegroundRole,
#      |         ^~~~~~~~~~~~~
#  155|       }
#  156|   #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#  157|->     case Qt::TextColorRole: {
#  158|   #else
#  159|       case Qt::ForegroundRole:{

Error: COMPILER_WARNING (CWE-477): [#def9]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/widgetexample.cpp: scope_hint: In member function ‘virtual QVariant CalendarModel::headerData(int, Qt::Orientation, int) const’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/examples/collections/widgetexample.cpp:183:21: warning[-Wdeprecated-declarations]: ‘Qt::BackgroundColorRole’ is deprecated
#  183 |         role == Qt::BackgroundColorRole ||
#      |                     ^~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qnamespace.h:1555:9: note: declared here
# 1555 |         BackgroundColorRole Q_DECL_ENUMERATOR_DEPRECATED = BackgroundRole,
#      |         ^~~~~~~~~~~~~~~~~~~
#  181|       if (
#  182|   #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#  183|->         role == Qt::BackgroundColorRole ||
#  184|   #endif
#  185|           role == Qt::BackgroundRole)

Error: COMPILER_WARNING (CWE-477): [#def10]
/usr/include/qt5/QtCore/qvariant.h:46: included_from: Included from here.
/usr/include/qt5/QtCore/qmetaobject.h:45: included_from: Included from here.
/usr/include/qt5/QtCore/QMetaMethod:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/global/dtkwidget_global.h:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/ddesktopservices.h:8: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/ddesktopservices_linux.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/ddesktopservices.h:74:60: warning[-Wdeprecated-declarations]: ‘DDesktopServices’ is deprecated: Use Dtk::Gui::DDesktopServices
#   74 | Q_DECLARE_METATYPE(DTK_WIDGET_NAMESPACE::DDesktopServices::SystemSoundEffect)
#      |                                                            ^~~~~~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/ddesktopservices.h:16:5: note: declared here
#   16 |     DDesktopServices
#      |     ^~~~~~~~~~~~~~~~
#   72|   
#   73|   #ifdef Q_OS_LINUX
#   74|-> Q_DECLARE_METATYPE(DTK_WIDGET_NAMESPACE::DDesktopServices::SystemSoundEffect)
#   75|   #endif
#   76|   

Error: COMPILER_WARNING (CWE-477): [#def11]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/YYBFEMM36I/moc_darrowlineexpand.cpp:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/mocs_compilation.cpp:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/darrowlineexpand.h:54:37: warning[-Wdeprecated-declarations]: ‘ArrowHeaderLine’ is deprecated
#   54 |     ArrowHeaderLine *m_headerLine = nullptr;
#      |                                     ^~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/darrowlineexpand.h:20:25: note: declared here
#   20 | class D_DECL_DEPRECATED ArrowHeaderLine : public DHeaderLine
#      |                         ^~~~~~~~~~~~~~~
#   52|   
#   53|   private:
#   54|->     ArrowHeaderLine *m_headerLine = nullptr;
#   55|   };
#   56|   

Error: COMPILER_WARNING (CWE-477): [#def12]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/YYBFEMM36I/moc_dexpandgroup.cpp:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/mocs_compilation.cpp:27: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:25:23: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   25 |     QList<DBaseExpand *> expands() const;
#      |                       ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/darrowlineexpand.h:11: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   23|       explicit DExpandGroup(QObject *parent = 0);
#   24|   
#   25|->     QList<DBaseExpand *> expands() const;
#   26|       DBaseExpand * checkedExpand() const;
#   27|       DBaseExpand * expand(int id) const;

Error: COMPILER_WARNING (CWE-477): [#def13]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:26:35: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   26 |     DBaseExpand * checkedExpand() const;
#      |                                   ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   24|   
#   25|       QList<DBaseExpand *> expands() const;
#   26|->     DBaseExpand * checkedExpand() const;
#   27|       DBaseExpand * expand(int id) const;
#   28|       void addExpand(DBaseExpand *expand, int id = -1);

Error: COMPILER_WARNING (CWE-477): [#def14]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:27:34: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   27 |     DBaseExpand * expand(int id) const;
#      |                                  ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   25|       QList<DBaseExpand *> expands() const;
#   26|       DBaseExpand * checkedExpand() const;
#   27|->     DBaseExpand * expand(int id) const;
#   28|       void addExpand(DBaseExpand *expand, int id = -1);
#   29|       void setId(DBaseExpand *expand, int id);

Error: COMPILER_WARNING (CWE-477): [#def15]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:28:52: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   28 |     void addExpand(DBaseExpand *expand, int id = -1);
#      |                                                    ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   26|       DBaseExpand * checkedExpand() const;
#   27|       DBaseExpand * expand(int id) const;
#   28|->     void addExpand(DBaseExpand *expand, int id = -1);
#   29|       void setId(DBaseExpand *expand, int id);
#   30|       void removeExpand(DBaseExpand *expand);

Error: COMPILER_WARNING (CWE-477): [#def16]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:29:43: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   29 |     void setId(DBaseExpand *expand, int id);
#      |                                           ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   27|       DBaseExpand * expand(int id) const;
#   28|       void addExpand(DBaseExpand *expand, int id = -1);
#   29|->     void setId(DBaseExpand *expand, int id);
#   30|       void removeExpand(DBaseExpand *expand);
#   31|       int checkedId() const;

Error: COMPILER_WARNING (CWE-477): [#def17]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:30:42: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   30 |     void removeExpand(DBaseExpand *expand);
#      |                                          ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   28|       void addExpand(DBaseExpand *expand, int id = -1);
#   29|       void setId(DBaseExpand *expand, int id);
#   30|->     void removeExpand(DBaseExpand *expand);
#   31|       int checkedId() const;
#   32|       int id(DBaseExpand *expand) const;

Error: COMPILER_WARNING (CWE-477): [#def18]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:32:33: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   32 |     int id(DBaseExpand *expand) const;
#      |                                 ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   30|       void removeExpand(DBaseExpand *expand);
#   31|       int checkedId() const;
#   32|->     int id(DBaseExpand *expand) const;
#   33|   
#   34|   private:

Error: COMPILER_WARNING (CWE-477): [#def19]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:38:27: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   38 |     QMap<int, DBaseExpand *> m_expandMap;
#      |                           ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   36|   
#   37|   private:
#   38|->     QMap<int, DBaseExpand *> m_expandMap;
#   39|       QMap<int, DBaseExpand *> m_checkedMap;
#   40|   };

Error: COMPILER_WARNING (CWE-477): [#def20]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dexpandgroup.h:39:27: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   39 |     QMap<int, DBaseExpand *> m_checkedMap;
#      |                           ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   37|   private:
#   38|       QMap<int, DBaseExpand *> m_expandMap;
#   39|->     QMap<int, DBaseExpand *> m_checkedMap;
#   40|   };
#   41|   

Error: COMPILER_WARNING (CWE-477): [#def21]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/YYBFEMM36I/moc_dinputdialog.cpp:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/mocs_compilation.cpp:40: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dinputdialog.h:109:116: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead
#  109 |                            const QString &text = QString(), bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags{0},
#      |                                                                                                                    ^
/usr/include/qt5/QtCore/qglobal.h:1307: included_from: Included from here.
/usr/include/qt5/QtCore/qscopedpointer.h:43: included_from: Included from here.
/usr/include/qt5/QtCore/QScopedPointer:1: included_from: Included from here.
/usr/include/dtk5/DCore/dobject.h:8: included_from: Included from here.
/usr/include/dtk5/DCore/DObject:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dregionmonitor.h:8: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/HMJSVG7GSJ/moc_dregionmonitor.cpp:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/mocs_compilation.cpp:2: included_from: Included from here.
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#  107|       static QString getText(QWidget *parent, const QString &title, const QString &message,
#  108|                              QLineEdit::EchoMode echo = QLineEdit::Normal,
#  109|->                            const QString &text = QString(), bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags{0},
#  110|                              Qt::InputMethodHints inputMethodHints = Qt::ImhNone);
#  111|   

Error: COMPILER_WARNING (CWE-477): [#def22]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dinputdialog.h:114:83: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead
#  114 |                            bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags{0},
#      |                                                                                   ^
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#  112|       static QString getItem(QWidget *parent, const QString &title, const QString &message,
#  113|                              const QStringList &items, int current = 0, bool editable = true,
#  114|->                            bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags{0},
#  115|                              Qt::InputMethodHints inputMethodHints = Qt::ImhNone);
#  116|   

Error: COMPILER_WARNING (CWE-477): [#def23]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dinputdialog.h:119:92: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead
#  119 |                       int step = 1, bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags{0});
#      |                                                                                            ^
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#  117|       static int getInt(QWidget *parent, const QString &title, const QString &message, int value = 0,
#  118|                         int minValue = -2147483647, int maxValue = 2147483647,
#  119|->                       int step = 1, bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags{0});
#  120|       static double getDouble(QWidget *parent, const QString &title, const QString &message, double value = 0,
#  121|                               double minValue = -2147483647, double maxValue = 2147483647,

Error: COMPILER_WARNING (CWE-477): [#def24]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dinputdialog.h:122:102: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead
#  122 |                             int decimals = 1, bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags{0});
#      |                                                                                                      ^
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#  120|       static double getDouble(QWidget *parent, const QString &title, const QString &message, double value = 0,
#  121|                               double minValue = -2147483647, double maxValue = 2147483647,
#  122|->                             int decimals = 1, bool *ok = 0, Qt::WindowFlags flags = Qt::WindowFlags{0});
#  123|   
#  124|   protected:

Error: COMPILER_WARNING (CWE-477): [#def25]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/YYBFEMM36I/moc_dsegmentedcontrol.cpp:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/mocs_compilation.cpp:52: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dsegmentedcontrol.h:44:44: warning[-Wdeprecated-declarations]: ‘DSegmentedHighlight’ is deprecated
#   44 |     const DSegmentedHighlight *highlight() const;
#      |                                            ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dsegmentedcontrol.h:22:51: note: declared here
#   22 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DSegmentedHighlight : public QToolButton
#      |                                                   ^~~~~~~~~~~~~~~~~~~
#   42|   
#   43|       int count() const;
#   44|->     const DSegmentedHighlight *highlight() const;
#   45|       int currentIndex() const;
#   46|       QToolButton *at(int index) const;

Error: COMPILER_WARNING (CWE-477): [#def26]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dregionmonitor.cpp:41:65: warning[-Wdeprecated-declarations]: ‘DRegionMonitor’ is deprecated: Use libdtkgui
#   41 | DRegionMonitor::CoordinateType DRegionMonitor::coordinateType() const
#      |                                                                 ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dregionmonitor.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dregionmonitor.h:18:44: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use libdtkgui") DRegionMonitor : public QObject
#      |                                            ^~~~~~~~~~~~~~
#   39|   }
#   40|   
#   41|-> DRegionMonitor::CoordinateType DRegionMonitor::coordinateType() const
#   42|   {
#   43|       D_DC(DRegionMonitor);

Error: COMPILER_WARNING (CWE-477): [#def27]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:43:62: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   43 |     explicit DThumbnailProviderPrivate(DThumbnailProvider *qq);
#      |                                                              ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   41|   {
#   42|   public:
#   43|->     explicit DThumbnailProviderPrivate(DThumbnailProvider *qq);
#   44|   
#   45|       void init();

Error: COMPILER_WARNING (CWE-477): [#def28]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:47:59: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   47 |     QString sizeToFilePath(DThumbnailProvider::Size size) const;
#      |                                                           ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   45|       void init();
#   46|   
#   47|->     QString sizeToFilePath(DThumbnailProvider::Size size) const;
#   48|   
#   49|       QString errorString;

Error: COMPILER_WARNING (CWE-477): [#def29]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:60:27: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   60 |         DThumbnailProvider::Size size;
#      |                           ^~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   58|       {
#   59|           QFileInfo fileInfo;
#   60|->         DThumbnailProvider::Size size;
#   61|           DThumbnailProvider::CallBack callback;
#   62|       };

Error: COMPILER_WARNING (CWE-477): [#def30]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:60:34: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   60 |         DThumbnailProvider::Size size;
#      |                                  ^~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   58|       {
#   59|           QFileInfo fileInfo;
#   60|->         DThumbnailProvider::Size size;
#   61|           DThumbnailProvider::CallBack callback;
#   62|       };

Error: COMPILER_WARNING (CWE-477): [#def31]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:61:27: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   61 |         DThumbnailProvider::CallBack callback;
#      |                           ^~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   59|           QFileInfo fileInfo;
#   60|           DThumbnailProvider::Size size;
#   61|->         DThumbnailProvider::CallBack callback;
#   62|       };
#   63|   

Error: COMPILER_WARNING (CWE-477): [#def32]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:61:38: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   61 |         DThumbnailProvider::CallBack callback;
#      |                                      ^~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   59|           QFileInfo fileInfo;
#   60|           DThumbnailProvider::Size size;
#   61|->         DThumbnailProvider::CallBack callback;
#   62|       };
#   63|   

Error: COMPILER_WARNING (CWE-477): [#def33]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:65:45: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   65 |     QSet<QPair<QString, DThumbnailProvider::Size>> discardedProduceInfos;
#      |                                             ^~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   63|   
#   64|       QQueue<ProduceInfo> produceQueue;
#   65|->     QSet<QPair<QString, DThumbnailProvider::Size>> discardedProduceInfos;
#   66|   
#   67|       bool running = true;

Error: COMPILER_WARNING (CWE-477): [#def34]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:77:76: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   77 | DThumbnailProviderPrivate::DThumbnailProviderPrivate(DThumbnailProvider *qq)
#      |                                                                            ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   75|   QSet<QString> DThumbnailProviderPrivate::hasThumbnailMimeHash;
#   76|   
#   77|-> DThumbnailProviderPrivate::DThumbnailProviderPrivate(DThumbnailProvider *qq)
#   78|       : DObjectPrivate(qq)
#   79|   {

Error: COMPILER_WARNING (CWE-477): [#def35]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:88:82: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   88 | QString DThumbnailProviderPrivate::sizeToFilePath(DThumbnailProvider::Size size) const
#      |                                                                                  ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   86|   }
#   87|   
#   88|-> QString DThumbnailProviderPrivate::sizeToFilePath(DThumbnailProvider::Size size) const
#   89|   {
#   90|       switch (size)

Error: COMPILER_WARNING (CWE-477): [#def36]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp: scope_hint: In member function ‘QString Dtk::Widget::DThumbnailProviderPrivate::sizeToFilePath(Dtk::Widget::DThumbnailProvider::Size) const’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:92:30: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   92 |     case DThumbnailProvider::Small:
#      |                              ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   90|       switch (size)
#   91|       {
#   92|->     case DThumbnailProvider::Small:
#   93|           return THUMBNAIL_SMALL_PATH;
#   94|       case DThumbnailProvider::Normal:

Error: COMPILER_WARNING (CWE-477): [#def37]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:94:30: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   94 |     case DThumbnailProvider::Normal:
#      |                              ^~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   92|       case DThumbnailProvider::Small:
#   93|           return THUMBNAIL_SMALL_PATH;
#   94|->     case DThumbnailProvider::Normal:
#   95|           return THUMBNAIL_NORMAL_PATH;
#   96|       case DThumbnailProvider::Large:

Error: COMPILER_WARNING (CWE-477): [#def38]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:96:30: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#   96 |     case DThumbnailProvider::Large:
#      |                              ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#   94|       case DThumbnailProvider::Normal:
#   95|           return THUMBNAIL_NORMAL_PATH;
#   96|->     case DThumbnailProvider::Large:
#   97|           return THUMBNAIL_LARGE_PATH;
#   98|       }

Error: COMPILER_WARNING (CWE-477): [#def39]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp: scope_hint: At global scope
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dthumbnailprovider.cpp:106:50: warning[-Wdeprecated-declarations]: ‘DThumbnailProvider’ is deprecated: Use libdtkgui
#  106 | DThumbnailProvider *DThumbnailProvider::instance()
#      |                                                  ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dthumbnailprovider.h:25:44: note: declared here
#   25 | class D_DECL_DEPRECATED_X("Use libdtkgui") DThumbnailProvider : public QThread, public DTK_CORE_NAMESPACE::DObject
#      |                                            ^~~~~~~~~~~~~~~~~~
#  104|   Q_GLOBAL_STATIC(DFileThumbnailProviderPrivate, ftpGlobal)
#  105|   
#  106|-> DThumbnailProvider *DThumbnailProvider::instance()
#  107|   {
#  108|       return ftpGlobal;

Error: COMPILER_WARNING (CWE-477): [#def40]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dtrashmanager_linux.cpp:144:46: warning[-Wdeprecated-declarations]: ‘DTrashManager’ is deprecated: Use libdtkcore
#  144 |     DTrashManagerPrivate(DTrashManager *q_ptr)
#      |                                              ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dtrashmanager_linux.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dtrashmanager.h:19:45: note: declared here
#   19 | class D_DECL_DEPRECATED_X("Use libdtkcore") DTrashManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                             ^~~~~~~~~~~~~
#  142|   {
#  143|   public:
#  144|->     DTrashManagerPrivate(DTrashManager *q_ptr)
#  145|           : DObjectPrivate(q_ptr) {}
#  146|   

Error: COMPILER_WARNING (CWE-477): [#def41]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dtrashmanager_linux.cpp:153:40: warning[-Wdeprecated-declarations]: ‘DTrashManager’ is deprecated: Use libdtkcore
#  153 | DTrashManager *DTrashManager::instance()
#      |                                        ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/util/dtrashmanager.h:19:45: note: declared here
#   19 | class D_DECL_DEPRECATED_X("Use libdtkcore") DTrashManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                             ^~~~~~~~~~~~~
#  151|   };
#  152|   
#  153|-> DTrashManager *DTrashManager::instance()
#  154|   {
#  155|       return globalTrashManager;

Error: COMPILER_WARNING (CWE-477): [#def42]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dwidgetutil.cpp:65:45: warning[-Wdeprecated-declarations]: ‘const QRect QDesktopWidget::availableGeometry(int) const’ is deprecated: Use QGuiApplication::screens()
#   65 |     QRect parentRect = dw->availableGeometry(dw->primaryScreen());
#      |                        ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtWidgets/qdesktopwidget.h:88:67: note: declared here
#   88 |     QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect availableGeometry(int screen = -1) const;
#      |                                                                   ^~~~~~~~~~~~~~~~~
#   63|   #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#   64|       QDesktopWidget *dw = QApplication::desktop();
#   65|->     QRect parentRect = dw->availableGeometry(dw->primaryScreen());
#   66|   #else
#   67|       auto parentRect = QGuiApplication::primaryScreen()->availableGeometry();

Error: COMPILER_WARNING (CWE-477): [#def43]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dwidgetutil.cpp: scope_hint: In function ‘void Dtk::Widget::moveToCenter(QWidget*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dwidgetutil.cpp:65:63: warning[-Wdeprecated-declarations]: ‘int QDesktopWidget::primaryScreen() const’ is deprecated: Use QGuiApplication::primaryScreen()
#   65 |     QRect parentRect = dw->availableGeometry(dw->primaryScreen());
#      |                                              ~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtWidgets/QDesktopWidget:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/util/dwidgetutil.cpp:13: included_from: Included from here.
/usr/include/qt5/QtWidgets/qdesktopwidget.h:73:65: note: declared here
#   73 |     QT_DEPRECATED_X("Use QGuiApplication::primaryScreen()") int primaryScreen() const;
#      |                                                                 ^~~~~~~~~~~~~
#   63|   #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#   64|       QDesktopWidget *dw = QApplication::desktop();
#   65|->     QRect parentRect = dw->availableGeometry(dw->primaryScreen());
#   66|   #else
#   67|       auto parentRect = QGuiApplication::primaryScreen()->availableGeometry();

Error: COMPILER_WARNING (CWE-477): [#def44]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/daboutdialog.cpp: scope_hint: In member function ‘const QPixmap* Dtk::Widget::DAboutDialog::companyLogo() const’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/daboutdialog.cpp:374:39: warning[-Wdeprecated-declarations]: ‘const QPixmap* QLabel::pixmap() const’ is deprecated: Use the other overload which returns QPixmap by-value
#  374 |     return d->companyLogoLabel->pixmap();
#      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtWidgets/QLabel:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/daboutdialog_p.h:9: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/daboutdialog.cpp:7: included_from: Included from here.
/usr/include/qt5/QtWidgets/qlabel.h:78:20: note: declared here
#   78 |     const QPixmap *pixmap() const; // ### Qt 7: Remove function
#      |                    ^~~~~~
#  372|       D_DC(DAboutDialog);
#  373|   
#  374|->     return d->companyLogoLabel->pixmap();
#  375|   }
#  376|   

Error: COMPILER_WARNING (CWE-477): [#def45]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp: scope_hint: In member function ‘QString Dtk::Widget::DApplicationPrivate::theme() const’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:125:27: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  125 |     return DThemeManager::instance()->theme();
#      |                           ^~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:42: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  123|   QString DApplicationPrivate::theme() const
#  124|   {
#  125|->     return DThemeManager::instance()->theme();
#  126|   }
#  127|   

Error: COMPILER_WARNING (CWE-477): [#def46]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp: scope_hint: In member function ‘void Dtk::Widget::DApplicationPrivate::setTheme(const QString&)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:130:20: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  130 |     DThemeManager *themeManager = DThemeManager::instance();
#      |                    ^~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  128|   void DApplicationPrivate::setTheme(const QString &theme)
#  129|   {
#  130|->     DThemeManager *themeManager = DThemeManager::instance();
#  131|       themeManager->setTheme(theme);
#  132|   }

Error: COMPILER_WARNING (CWE-477): [#def47]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:130:50: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  130 |     DThemeManager *themeManager = DThemeManager::instance();
#      |                                                  ^~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  128|   void DApplicationPrivate::setTheme(const QString &theme)
#  129|   {
#  130|->     DThemeManager *themeManager = DThemeManager::instance();
#  131|       themeManager->setTheme(theme);
#  132|   }

Error: COMPILER_WARNING (CWE-477): [#def48]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp: scope_hint: In member function ‘QString Dtk::Widget::DApplication::theme() const’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:642:20: warning[-Wdeprecated-declarations]: ‘QString Dtk::Widget::DApplicationPrivate::theme() const’ is deprecated
#  642 |     return d->theme();
#      |            ~~~~~~~~^~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:123:9: note: declared here
#  123 | QString DApplicationPrivate::theme() const
#      |         ^~~~~~~~~~~~~~~~~~~
#  640|       D_DC(DApplication);
#  641|   
#  642|->     return d->theme();
#  643|   }
#  644|   #endif

Error: COMPILER_WARNING (CWE-477): [#def49]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp: scope_hint: In member function ‘void Dtk::Widget::DApplication::setTheme(const QString&)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:656:16: warning[-Wdeprecated-declarations]: ‘void Dtk::Widget::DApplicationPrivate::setTheme(const QString&)’ is deprecated
#  656 |     d->setTheme(theme);
#      |     ~~~~~~~~~~~^~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:128:6: note: declared here
#  128 | void DApplicationPrivate::setTheme(const QString &theme)
#      |      ^~~~~~~~~~~~~~~~~~~
#  654|       D_D(DApplication);
#  655|   
#  656|->     d->setTheme(theme);
#  657|   }
#  658|   #endif

Error: COMPILER_WARNING (CWE-477): [#def50]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp: scope_hint: In member function ‘virtual void Dtk::Widget::DApplication::handleAboutAction()’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:1461:44: warning[-Wdeprecated-declarations]: ‘void Dtk::Widget::DAboutDialog::setAcknowledgementLink(const QString&)’ is deprecated: acknowledgement is no longer used
# 1461 |         aboutDialog->setAcknowledgementLink(applicationAcknowledgementPage());
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplication.cpp:43: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/daboutdialog.h:62:67: note: declared here
#   62 |     D_DECL_DEPRECATED_X("acknowledgement is no longer used") void setAcknowledgementLink(const QString &acknowledgementLink);
#      |                                                                   ^~~~~~~~~~~~~~~~~~~~~~
# 1459|   #if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
# 1460|       if (!applicationAcknowledgementPage().isEmpty()) {
# 1461|->         aboutDialog->setAcknowledgementLink(applicationAcknowledgementPage());
# 1462|       }
# 1463|   #endif

Error: COMPILER_WARNING (CWE-477): [#def51]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplicationhelper.cpp: scope_hint: In static member function ‘static Dtk::Gui::DGuiApplicationHelper* Dtk::Widget::_DApplicationHelper::createHelper()’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplicationhelper.cpp:16:20: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#   16 |         return new DApplicationHelper();
#      |                    ^~~~~~~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplicationhelper.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#   14|       static DGuiApplicationHelper *createHelper()
#   15|       {
#   16|->         return new DApplicationHelper();
#   17|       }
#   18|   };

Error: COMPILER_WARNING (CWE-477): [#def52]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplicationhelper.cpp: scope_hint: In function ‘void Dtk::Widget::init_createHelper()’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplicationhelper.cpp:24:29: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#   24 |         DApplicationHelper::registerInstanceCreator(_DApplicationHelper::createHelper);
#      |                             ^~~~~~~~~~~~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#   22|   {
#   23|       if (!QApplication::instance() || qobject_cast<QApplication *>(QApplication::instance())) {
#   24|->         DApplicationHelper::registerInstanceCreator(_DApplicationHelper::createHelper);
#   25|       }
#   26|   }

Error: COMPILER_WARNING (CWE-477): [#def53]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplicationhelper.cpp:24:52: warning[-Wdeprecated-declarations]: ‘static void Dtk::Gui::DGuiApplicationHelper::registerInstanceCreator(HelperCreator)’ is deprecated
#   24 |         DApplicationHelper::registerInstanceCreator(_DApplicationHelper::createHelper);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/dtk5/DGui/DGuiApplicationHelper:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dapplicationhelper.h:9: included_from: Included from here.
/usr/include/dtk5/DGui/dguiapplicationhelper.h:69:35: note: declared here
#   69 |     D_DECL_DEPRECATED static void registerInstanceCreator(HelperCreator creator);
#      |                                   ^~~~~~~~~~~~~~~~~~~~~~~
#   22|   {
#   23|       if (!QApplication::instance() || qobject_cast<QApplication *>(QApplication::instance())) {
#   24|->         DApplicationHelper::registerInstanceCreator(_DApplicationHelper::createHelper);
#   25|       }
#   26|   }

Error: COMPILER_WARNING (CWE-477): [#def54]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplicationhelper.cpp: scope_hint: At global scope
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dapplicationhelper.cpp:45:50: warning[-Wdeprecated-declarations]: ‘DApplicationHelper’ is deprecated: Use DPaletteHelper
#   45 | DApplicationHelper *DApplicationHelper::instance()
#      |                                                  ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dapplicationhelper.h:18:49: note: declared here
#   18 | class D_DECL_DEPRECATED_X("Use DPaletteHelper") DApplicationHelper : public DGuiApplicationHelper
#      |                                                 ^~~~~~~~~~~~~~~~~~
#   43|     \brief `DApplicationHelper::instance`return `DApplicationHelper` object
#   44|    */
#   45|-> DApplicationHelper *DApplicationHelper::instance()
#   46|   {
#   47|       return qobject_cast<DApplicationHelper*>(DGuiApplicationHelper::instance());

Error: COMPILER_WARNING (CWE-477): [#def55]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp: scope_hint: In constructor ‘Dtk::Widget::DArrowLineExpand::DArrowLineExpand(QWidget*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp:69:24: warning[-Wdeprecated-declarations]: ‘ArrowHeaderLine’ is deprecated
#   69 |     m_headerLine = new ArrowHeaderLine(this);
#      |                        ^~~~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/darrowlineexpand.h:20:25: note: declared here
#   20 | class D_DECL_DEPRECATED ArrowHeaderLine : public DHeaderLine
#      |                         ^~~~~~~~~~~~~~~
#   67|   DArrowLineExpand::DArrowLineExpand(QWidget *parent) : DBaseExpand(parent)
#   68|   {
#   69|->     m_headerLine = new ArrowHeaderLine(this);
#   70|       m_headerLine->setExpand(expand());
#   71|       connect(m_headerLine, &ArrowHeaderLine::mousePress, [=]{

Error: COMPILER_WARNING (CWE-477): [#def56]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp:71:45: warning[-Wdeprecated-declarations]: ‘ArrowHeaderLine’ is deprecated
#   71 |     connect(m_headerLine, &ArrowHeaderLine::mousePress, [=]{
#      |                                             ^~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/darrowlineexpand.h:20:25: note: declared here
#   20 | class D_DECL_DEPRECATED ArrowHeaderLine : public DHeaderLine
#      |                         ^~~~~~~~~~~~~~~
#   69|       m_headerLine = new ArrowHeaderLine(this);
#   70|       m_headerLine->setExpand(expand());
#   71|->     connect(m_headerLine, &ArrowHeaderLine::mousePress, [=]{
#   72|           setExpand(!expand());
#   73|       });

Error: COMPILER_WARNING (CWE-477): [#def57]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp: scope_hint: In member function ‘virtual void Dtk::Widget::DArrowLineExpand::setExpand(bool)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp:98:18: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   98 |     DBaseExpand::setExpand(value);
#      |                  ^~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/darrowlineexpand.h:11: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   96|       //Header's arrow direction change here
#   97|       m_headerLine->setExpand(value);
#   98|->     DBaseExpand::setExpand(value);
#   99|   }
#  100|   

Error: COMPILER_WARNING (CWE-477): [#def58]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp: scope_hint: In member function ‘void Dtk::Widget::DArrowLineExpand::setHeader(QWidget*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp:114:18: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#  114 |     DBaseExpand::setHeader(header);
#      |                  ^~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#  112|   void DArrowLineExpand::setHeader(QWidget *header)
#  113|   {
#  114|->     DBaseExpand::setHeader(header);
#  115|   }
#  116|   

Error: COMPILER_WARNING (CWE-477): [#def59]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp: scope_hint: In member function ‘virtual void Dtk::Widget::DArrowLineExpand::resizeEvent(QResizeEvent*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/darrowlineexpand.cpp:121:18: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#  121 |     DBaseExpand::resizeEvent(e);
#      |                  ^~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#  119|       m_headerLine->setFixedWidth(e->size().width());
#  120|   
#  121|->     DBaseExpand::resizeEvent(e);
#  122|   }
#  123|   

Error: COMPILER_WARNING (CWE-477): [#def60]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp:16:39: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   16 |     DBaseExpandPrivate(DBaseExpand *qq);
#      |                                       ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   14|   {
#   15|   public:
#   16|->     DBaseExpandPrivate(DBaseExpand *qq);
#   17|       ~DBaseExpandPrivate();
#   18|   

Error: COMPILER_WARNING (CWE-477): [#def61]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp:24:38: warning[-Wdeprecated-declarations]: ‘ContentLoader’ is deprecated
#   24 |     ContentLoader *m_contentLoader = nullptr;
#      |                                      ^~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:22:25: note: declared here
#   22 | class D_DECL_DEPRECATED ContentLoader : public QFrame
#      |                         ^~~~~~~~~~~~~
#   22|       QVBoxLayout *m_headerLayout = nullptr;
#   23|       QBoxLayout *m_contentLayout = nullptr;
#   24|->     ContentLoader *m_contentLoader = nullptr;
#   25|       DHorizontalLine *m_hSeparator = nullptr;
#   26|       DHorizontalLine *m_bottom_separator = nullptr;

Error: COMPILER_WARNING (CWE-477): [#def62]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp:31:18: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   31 |     DBaseExpand *q_ptr;
#      |                  ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   29|       bool m_reservedPadding[7];
#   30|   
#   31|->     DBaseExpand *q_ptr;
#   32|   };
#   33|   

Error: COMPILER_WARNING (CWE-477): [#def63]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp:34:55: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   34 | DBaseExpandPrivate::DBaseExpandPrivate(DBaseExpand *qq)
#      |                                                       ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   32|   };
#   33|   
#   34|-> DBaseExpandPrivate::DBaseExpandPrivate(DBaseExpand *qq)
#   35|       : q_ptr(qq)
#   36|   {

Error: COMPILER_WARNING (CWE-477): [#def64]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp: scope_hint: In constructor ‘Dtk::Widget::DBaseExpandPrivate::DBaseExpandPrivate(Dtk::Widget::DBaseExpand*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp:52:35: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   52 |     qq->connect(qq, &DBaseExpand::expandChange, m_bottom_separator, &QWidget::setVisible);
#      |                                   ^~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   50|       m_bottom_separator->setAccessibleName("DBaseExpandBottomSeparator");
#   51|   
#   52|->     qq->connect(qq, &DBaseExpand::expandChange, m_bottom_separator, &QWidget::setVisible);
#   53|   
#   54|       m_contentLoader = new ContentLoader();

Error: COMPILER_WARNING (CWE-477): [#def65]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp:54:27: warning[-Wdeprecated-declarations]: ‘ContentLoader’ is deprecated
#   54 |     m_contentLoader = new ContentLoader();
#      |                           ^~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:22:25: note: declared here
#   22 | class D_DECL_DEPRECATED ContentLoader : public QFrame
#      |                         ^~~~~~~~~~~~~
#   52|       qq->connect(qq, &DBaseExpand::expandChange, m_bottom_separator, &QWidget::setVisible);
#   53|   
#   54|->     m_contentLoader = new ContentLoader();
#   55|       m_contentLoader->setFixedHeight(0); // default to not expanded.
#   56|       m_contentLoader->setAccessibleName("DBaseExpandContentLoader");

Error: COMPILER_WARNING (CWE-9001): [#def66]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dbaseexpand.cpp:119:1: warning[-Wcomment]: "/*" within comment
#  119 | /*!
#  117|     @param[in] e If "true", the content widget becomes visible, otherwise, the content widget becomes invisible.
#  118|   
#  119|-> /*!
#  120|   @~english
#  121|     @brief get DBaseExpand::DBaseExpand instance

Error: COMPILER_WARNING (CWE-477): [#def67]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/ddialog.cpp: scope_hint: In member function ‘void Dtk::Widget::DDialog::setIcon(const QIcon&, const QSize&)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/ddialog.cpp:1047:18: warning[-Wdeprecated-declarations]: ‘void Dtk::Widget::DDialog::setIconPixmap(const QPixmap&)’ is deprecated
# 1047 |     setIconPixmap(pixmap);
#      |     ~~~~~~~~~~~~~^~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/DWidget/DDialog:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/ddialog_p.h:11: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/ddialog.cpp:23: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/ddialog.h:103:28: note: declared here
#  103 |     D_DECL_DEPRECATED void setIconPixmap(const QPixmap &iconPixmap);
#      |                            ^~~~~~~~~~~~~
# 1045|       QSize actualSize = expectedSize.isValid() ? expectedSize : QSize(64, 64);
# 1046|       QPixmap pixmap = icon.pixmap(actualSize);
# 1047|->     setIconPixmap(pixmap);
# 1048|   }
# 1049|   #endif

Error: COMPILER_WARNING (CWE-477): [#def68]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:34:19: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   34 | QList<DBaseExpand *> DExpandGroup::expands() const
#      |                   ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   32|     \return 控件组成的列表
#   33|    */
#   34|-> QList<DBaseExpand *> DExpandGroup::expands() const
#   35|   {
#   36|       return m_expandMap.values();

Error: COMPILER_WARNING (CWE-477): [#def69]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:44:44: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   44 | DBaseExpand *DExpandGroup::checkedExpand() const
#      |                                            ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   42|     \return 已展开状态的控件, 若没有已展开的控件则返回 NULL
#   43|    */
#   44|-> DBaseExpand *DExpandGroup::checkedExpand() const
#   45|   {
#   46|       if (m_checkedMap.isEmpty())

Error: COMPILER_WARNING (CWE-477): [#def70]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:59:43: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   59 | DBaseExpand *DExpandGroup::expand(int id) const
#      |                                           ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   57|     \return 根据 id 找到的控件
#   58|    */
#   59|-> DBaseExpand *DExpandGroup::expand(int id) const
#   60|   {
#   61|       return m_expandMap.value(id);

Error: COMPILER_WARNING (CWE-477): [#def71]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:70:57: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   70 | void DExpandGroup::addExpand(DBaseExpand *expand, int id)
#      |                                                         ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   68|     \a id 为要新增的控件对象指定id,id 应该是唯一值,如果没有给定 id ,则使用已有列表中最大的id自加1后的值
#   69|    */
#   70|-> void DExpandGroup::addExpand(DBaseExpand *expand, int id)
#   71|   {
#   72|       if (m_expandMap.values().indexOf(expand) == -1){

Error: COMPILER_WARNING (CWE-477): [#def72]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp: scope_hint: In member function ‘void Dtk::Widget::DExpandGroup::addExpand(Dtk::Widget::DBaseExpand*, int)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:83:39: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   83 |         connect(expand, &DBaseExpand::expandChange, this, &DExpandGroup::onExpandChanged);
#      |                                       ^~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   81|           m_expandMap.insert(id, expand);
#   82|   
#   83|->         connect(expand, &DBaseExpand::expandChange, this, &DExpandGroup::onExpandChanged);
#   84|       }
#   85|   }

Error: COMPILER_WARNING (CWE-477): [#def73]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp: scope_hint: At global scope
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:93:53: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#   93 | void DExpandGroup::setId(DBaseExpand *expand, int id)
#      |                                                     ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#   91|     \a id 要设置的id
#   92|    */
#   93|-> void DExpandGroup::setId(DBaseExpand *expand, int id)
#   94|   {
#   95|       int index = m_expandMap.values().indexOf(expand);

Error: COMPILER_WARNING (CWE-477): [#def74]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:107:52: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#  107 | void DExpandGroup::removeExpand(DBaseExpand *expand)
#      |                                                    ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#  105|     \a expand 要移除的控件对象
#  106|    */
#  107|-> void DExpandGroup::removeExpand(DBaseExpand *expand)
#  108|   {
#  109|       int index = m_expandMap.values().indexOf(expand);

Error: COMPILER_WARNING (CWE-477): [#def75]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:133:43: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#  133 | int DExpandGroup::id(DBaseExpand *expand) const
#      |                                           ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#  131|     \return 指定控件对象的 id
#  132|    */
#  133|-> int DExpandGroup::id(DBaseExpand *expand) const
#  134|   {
#  135|       return m_expandMap.keys().at(m_expandMap.values().indexOf(expand));

Error: COMPILER_WARNING (CWE-477): [#def76]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp: scope_hint: In member function ‘void Dtk::Widget::DExpandGroup::onExpandChanged(bool)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:140:18: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#  140 |     DBaseExpand *dSender = qobject_cast<DBaseExpand *>(sender());
#      |                  ^~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#  138|   void DExpandGroup::onExpandChanged(bool v)
#  139|   {
#  140|->     DBaseExpand *dSender = qobject_cast<DBaseExpand *>(sender());
#  141|       if (!dSender || dSender == checkedExpand() || !v)
#  142|           return;

Error: COMPILER_WARNING (CWE-477): [#def77]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:140:53: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#  140 |     DBaseExpand *dSender = qobject_cast<DBaseExpand *>(sender());
#      |                                                     ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#  138|   void DExpandGroup::onExpandChanged(bool v)
#  139|   {
#  140|->     DBaseExpand *dSender = qobject_cast<DBaseExpand *>(sender());
#  141|       if (!dSender || dSender == checkedExpand() || !v)
#  142|           return;

Error: COMPILER_WARNING (CWE-477): [#def78]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:148:23: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#  148 |     QList<DBaseExpand *> expandList = m_expandMap.values();
#      |                       ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#  146|       m_checkedMap.insert(m_expandMap.keys().at(checkedIndex), dSender);
#  147|   
#  148|->     QList<DBaseExpand *> expandList = m_expandMap.values();
#  149|       for (int i = 0; i < expandList.count(); i ++){
#  150|           DBaseExpand *target = expandList.at(i);

Error: COMPILER_WARNING (CWE-477): [#def79]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dexpandgroup.cpp:150:22: warning[-Wdeprecated-declarations]: ‘DBaseExpand’ is deprecated: Use DDrawer
#  150 |         DBaseExpand *target = expandList.at(i);
#      |                      ^~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dbaseexpand.h:33:68: note: declared here
#   33 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DDrawer") DBaseExpand : public QWidget
#      |                                                                    ^~~~~~~~~~~
#  148|       QList<DBaseExpand *> expandList = m_expandMap.values();
#  149|       for (int i = 0; i < expandList.count(); i ++){
#  150|->         DBaseExpand *target = expandList.at(i);
#  151|           if (target != dSender && target->expand())
#  152|               target->setExpand(false);

Error: COMPILER_WARNING (CWE-9001): [#def80]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dfontcombobox.cpp:55:1: warning[-Wcomment]: "/*" within comment
#   55 | /*!
#   53|     
#   54|     @image html DFontComboBox.png
#   55|-> /*!
#   56|   @~english
#   57|     @brief DFontComboBox constructor.

Error: COMPILER_WARNING (CWE-477): [#def81]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:641:46: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  641 | DImageButton::State DImageButton::getState() const
#      |                                              ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  639|     \return DImageButton::State
#  640|    */
#  641|-> DImageButton::State DImageButton::getState() const
#  642|   {
#  643|       D_DC(DImageButton);

Error: COMPILER_WARNING (CWE-477): [#def82]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:657:58: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  657 | DImageButtonPrivate::DImageButtonPrivate(DImageButton *qq)
#      |                                                          ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  655|   }
#  656|   
#  657|-> DImageButtonPrivate::DImageButtonPrivate(DImageButton *qq)
#  658|       : DObjectPrivate(qq)
#  659|   {

Error: COMPILER_WARNING (CWE-477): [#def83]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp: scope_hint: In member function ‘void Dtk::Widget::DImageButtonPrivate::updateIcon()’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:673:24: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  673 |     case DImageButton::Hover:
#      |                        ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  671|   
#  672|       switch (m_state) {
#  673|->     case DImageButton::Hover:
#  674|           q->setProperty("state", "hover");
#  675|           if (!m_hoverPic.isEmpty()) { q->setPixmap(loadPixmap(m_hoverPic)); }

Error: COMPILER_WARNING (CWE-477): [#def84]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:677:24: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  677 |     case DImageButton::Press:
#      |                        ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  675|           if (!m_hoverPic.isEmpty()) { q->setPixmap(loadPixmap(m_hoverPic)); }
#  676|           break;
#  677|->     case DImageButton::Press:
#  678|           q->setProperty("state", "press");
#  679|           if (!m_pressPic.isEmpty()) { q->setPixmap(loadPixmap(m_pressPic)); }

Error: COMPILER_WARNING (CWE-477): [#def85]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:681:24: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  681 |     case DImageButton::Checked:
#      |                        ^~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  679|           if (!m_pressPic.isEmpty()) { q->setPixmap(loadPixmap(m_pressPic)); }
#  680|           break;
#  681|->     case DImageButton::Checked:
#  682|           q->setProperty("state", "checked");
#  683|           if (!m_checkedPic.isEmpty()) { q->setPixmap(loadPixmap(m_checkedPic)); }

Error: COMPILER_WARNING (CWE-477): [#def86]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:685:24: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  685 |     case DImageButton::Disabled:
#      |                        ^~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  683|           if (!m_checkedPic.isEmpty()) { q->setPixmap(loadPixmap(m_checkedPic)); }
#  684|           break;
#  685|->     case DImageButton::Disabled:
#  686|           q->setProperty("state", "disabled");
#  687|           if (!m_disabledPic.isEmpty()) { q->setPixmap(loadPixmap(m_disabledPic)); }

Error: COMPILER_WARNING (CWE-477): [#def87]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp: scope_hint: At global scope
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:700:61: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#  700 | void DImageButtonPrivate::setState(DImageButton::State state)
#      |                                                             ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#  698|   }
#  699|   
#  700|-> void DImageButtonPrivate::setState(DImageButton::State state)
#  701|   {
#  702|       if (m_state == state) {

Error: COMPILER_WARNING (CWE-670): [#def88]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dlineedit.cpp: scope_hint: In member function ‘virtual bool Dtk::Widget::DLineEdit::eventFilter(QObject*, QEvent*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dlineedit.cpp:497:87: warning[-Wint-in-bool-context]: enum constant in boolean context
#  497 |         if (DGuiApplicationHelper::IsTableEnvironment && QGuiApplication::inputMethod())
#      |                                                                                       ^
#  495|   
#  496|       if (event->type() == QEvent::FocusIn) {
#  497|->         if (DGuiApplicationHelper::IsTableEnvironment && QGuiApplication::inputMethod())
#  498|               QGuiApplication::inputMethod()->show();
#  499|           Q_EMIT focusChanged(true);

Error: COMPILER_WARNING (CWE-477): [#def89]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dprintpreviewwidget.cpp: scope_hint: In constructor ‘Dtk::Widget::DPrintPreviewWidgetPrivate::DPrintPreviewWidgetPrivate(Dtk::Widget::DPrintPreviewWidget*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dprintpreviewwidget.cpp:56:32: warning[-Wdeprecated-declarations]: ‘Dtk::Widget::DPrintPreviewWidgetPrivate::reviewChanged’ is deprecated
#   56 |     , numberUpPrintData(nullptr)
#      |                                ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dprintpreviewwidget_p.h:314:28: note: declared here
#  314 |     D_DECL_DEPRECATED bool reviewChanged = true; // 预览页面是否发生改变
#      |                            ^~~~~~~~~~~~~
#   54|       , isAsynPreview(false)
#   55|       , asynPreviewNeedUpdate(false)
#   56|->     , numberUpPrintData(nullptr)
#   57|   {
#   58|   }

Error: COMPILER_WARNING (CWE-563): [#def90]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dprintpreviewwidget.cpp: scope_hint: In constructor ‘Dtk::Widget::DPrintPreviewWidget::DPrintPreviewWidget(Dtk::Widget::DPrinter*, QWidget*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dprintpreviewwidget.cpp:1209:70: warning[-Wunused-parameter]: unused parameter ‘parent’
# 1209 | DPrintPreviewWidget::DPrintPreviewWidget(DPrinter *printer, QWidget *parent)
#      |                                                             ~~~~~~~~~^~~~~~
# 1207|     \a parent 父控件
# 1208|    */
# 1209|-> DPrintPreviewWidget::DPrintPreviewWidget(DPrinter *printer, QWidget *parent)
# 1210|       : DFrame(*new DPrintPreviewWidgetPrivate(this))
# 1211|   {

Error: COMPILER_WARNING (CWE-477): [#def91]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dprintpreviewwidget.cpp: scope_hint: In member function ‘void Dtk::Widget::DPrintPreviewWidget::setReGenerate(bool)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dprintpreviewwidget.cpp:1256:17: warning[-Wdeprecated-declarations]: ‘void Dtk::Widget::DPrintPreviewWidget::reviewChange(bool)’ is deprecated
# 1256 |     reviewChange(generate);
#      |     ~~~~~~~~~~~~^~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dprintpreviewwidget.h:88:28: note: declared here
#   88 |     D_DECL_DEPRECATED void reviewChange(bool generate);
#      |                            ^~~~~~~~~~~~
# 1254|   void DPrintPreviewWidget::setReGenerate(bool generate)
# 1255|   {
# 1256|->     reviewChange(generate);
# 1257|   }
# 1258|   #endif

Error: COMPILER_WARNING (CWE-477): [#def92]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dprintpreviewwidget.cpp: scope_hint: In member function ‘void Dtk::Widget::DPrintPreviewWidget::reviewChange(bool)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dprintpreviewwidget.cpp:1291:8: warning[-Wdeprecated-declarations]: ‘Dtk::Widget::DPrintPreviewWidgetPrivate::reviewChanged’ is deprecated
# 1291 |     d->reviewChanged = generate;
#      |        ^~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dprintpreviewwidget_p.h:314:28: note: declared here
#  314 |     D_DECL_DEPRECATED bool reviewChanged = true; // 预览页面是否发生改变
#      |                            ^~~~~~~~~~~~~
# 1289|   {
# 1290|       Q_D(DPrintPreviewWidget);
# 1291|->     d->reviewChanged = generate;
# 1292|   }
# 1293|   #endif

Error: COMPILER_WARNING (CWE-477): [#def93]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsegmentedcontrol.cpp:24:51: warning[-Wdeprecated-declarations]: ‘DSegmentedControl’ is deprecated: Use DButtonBox
#   24 |     DSegmentedControlPrivate(DSegmentedControl *qq)
#      |                                                   ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dsegmentedcontrol.h:31:71: note: declared here
#   31 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DButtonBox") DSegmentedControl : public QWidget, public DCORE_NAMESPACE::DObject
#      |                                                                       ^~~~~~~~~~~~~~~~~
#   22|   {
#   23|   public:
#   24|->     DSegmentedControlPrivate(DSegmentedControl *qq)
#   25|           : DObjectPrivate(qq)
#   26|           , highlight(new DSegmentedHighlight(qq))

Error: COMPILER_WARNING (CWE-477): [#def94]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsegmentedcontrol.cpp: scope_hint: In constructor ‘Dtk::Widget::DSegmentedControlPrivate::DSegmentedControlPrivate(Dtk::Widget::DSegmentedControl*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsegmentedcontrol.cpp:26:25: warning[-Wdeprecated-declarations]: ‘DSegmentedHighlight’ is deprecated
#   26 |         , highlight(new DSegmentedHighlight(qq))
#      |                         ^~~~~~~~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dsegmentedcontrol.h:22:51: note: declared here
#   22 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DSegmentedHighlight : public QToolButton
#      |                                                   ^~~~~~~~~~~~~~~~~~~
#   24|       DSegmentedControlPrivate(DSegmentedControl *qq)
#   25|           : DObjectPrivate(qq)
#   26|->         , highlight(new DSegmentedHighlight(qq))
#   27|           , clipEffect(new DGraphicsClipEffect(qq))
#   28|           , hLayout(new QHBoxLayout(qq))

Error: COMPILER_WARNING (CWE-477): [#def95]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsegmentedcontrol.cpp:35:26: warning[-Wdeprecated-declarations]: ‘DSegmentedHighlight’ is deprecated
#   35 |     DSegmentedHighlight *highlight;
#      |                          ^~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dsegmentedcontrol.h:22:51: note: declared here
#   22 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DSegmentedHighlight : public QToolButton
#      |                                                   ^~~~~~~~~~~~~~~~~~~
#   33|       }
#   34|   
#   35|->     DSegmentedHighlight *highlight;
#   36|       // 此处不适用DClipEffectWidget是因为无法解决Qt浮点数高分屏缩放产生的细线问题
#   37|   //    DClipEffectWidget *clipEffect;

Error: COMPILER_WARNING (CWE-477): [#def96]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsegmentedcontrol.cpp: scope_hint: At global scope
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsegmentedcontrol.cpp:139:59: warning[-Wdeprecated-declarations]: ‘DSegmentedHighlight’ is deprecated
#  139 | const DSegmentedHighlight *DSegmentedControl::highlight() const
#      |                                                           ^~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dsegmentedcontrol.h:22:51: note: declared here
#   22 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DSegmentedHighlight : public QToolButton
#      |                                                   ^~~~~~~~~~~~~~~~~~~
#  137|     \return 控件中当前选中(高亮)的 Segmnet 。
#  138|    */
#  139|-> const DSegmentedHighlight *DSegmentedControl::highlight() const
#  140|   {
#  141|       D_DC(DSegmentedControl);

Error: COMPILER_WARNING (CWE-477): [#def97]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsettingswidgetfactory.cpp: scope_hint: In static member function ‘static QWidget* Dtk::Widget::DSettingsWidgetFactory::createTwoColumWidget(Dtk::Core::DSettingsOption*, QWidget*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsettingswidgetfactory.cpp:141:32: warning[-Wdeprecated-declarations]: ‘static QWidget* Dtk::Widget::DSettingsWidgetFactory::createTwoColumWidget(const QByteArray&, Dtk::Core::DSettingsOption*, QWidget*)’ is deprecated
#  141 |     return createTwoColumWidget(QByteArray(), option, rightWidget);
#      |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dsettingswidgetfactory.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dsettingswidgetfactory.h:40:39: note: declared here
#   40 |     D_DECL_DEPRECATED static QWidget *createTwoColumWidget(const QByteArray &translateContext, DTK_CORE_NAMESPACE::DSettingsOption *option, QWidget *rightWidget);
#      |                                       ^~~~~~~~~~~~~~~~~~~~
#  139|   QWidget *DSettingsWidgetFactory::createTwoColumWidget(DTK_CORE_NAMESPACE::DSettingsOption *option, QWidget *rightWidget)
#  140|   {
#  141|->     return createTwoColumWidget(QByteArray(), option, rightWidget);
#  142|   }
#  143|   #endif

Error: COMPILER_WARNING (CWE-477): [#def98]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dstyle.cpp: scope_hint: In function ‘Dtk::Widget::DStyle::StateFlags Dtk::Widget::getFlags(const QStyleOption*)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dstyle.cpp:2097:31: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = Dtk::Widget::DStyle::StyleState; Zero = int QFlags<Dtk::Widget::DStyle::StyleState>::Private::*]’ is deprecated: Use default constructor instead
# 2097 |     DStyle::StateFlags flags{0};
#      |                               ^
/usr/include/qt5/QtCore/qglobal.h:1307: included_from: Included from here.
/usr/include/dtk5/DCore/dtkcore_global.h:7: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/global/dtkwidget_global.h:7: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dstyle.h:8: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dstyle.cpp:5: included_from: Included from here.
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
# 2095|   static DStyle::StateFlags getFlags(const QStyleOption *option)
# 2096|   {
# 2097|->     DStyle::StateFlags flags{0};
# 2098|   
# 2099|       if (option->state.testFlag(DStyle::State_On)) {

Error: COMPILER_WARNING (CWE-1023): [#def99]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dstyle.cpp: scope_hint: In member function ‘virtual int Dtk::Widget::DStyle::pixelMetric(QStyle::PixelMetric, const QStyleOption*, const QWidget*) const’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dstyle.cpp:2235:5: warning[-Wswitch]: case value ‘4026531861’ not in enumerated type ‘QStyle::PixelMetric’
# 2235 |     case PM_FloatingButtonFrameMargin:
#      |     ^~~~
# 2233|       case PM_MenuButtonIndicator:
# 2234|           return DSizeModeHelper::element(8, QCommonStyle::pixelMetric(m, opt, widget));
# 2235|->     case PM_FloatingButtonFrameMargin:
# 2236|           return 3;
# 2237|       default:

Error: COMPILER_WARNING (CWE-477): [#def100]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp:78:40: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#   78 | DThemeManager *DThemeManager::instance()
#      |                                        ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp:16: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#   76|     \return DThemeManager 全局实例。
#   77|    */
#   78|-> DThemeManager *DThemeManager::instance()
#   79|   {
#   80|       // 正在初始化时返回空对象,否则会导致当前线程陷入死锁

Error: COMPILER_WARNING (CWE-477): [#def101]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp:115:91: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  115 | static void emitThemeChanged(DThemeManager *manager, QWidget *widget, const QString &theme)
#      |                                                                                           ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  113|   }
#  114|   
#  115|-> static void emitThemeChanged(DThemeManager *manager, QWidget *widget, const QString &theme)
#  116|   {
#  117|       Q_EMIT manager->widgetThemeChanged(widget, theme);

Error: COMPILER_WARNING (CWE-477): [#def102]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp:160:113: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  160 | static void updateWidgetTheme(DThemeManager *manager, QWidget *widget, QWidget *baseWidget, const QString &theme)
#      |                                                                                                                 ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  158|   }
#  159|   
#  160|-> static void updateWidgetTheme(DThemeManager *manager, QWidget *widget, QWidget *baseWidget, const QString &theme)
#  161|   {
#  162|       inseritStyle(widget, baseWidget);

Error: COMPILER_WARNING (CWE-477): [#def103]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp:185:43: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  185 |     DThemeManagerPrivate(DThemeManager *qq)
#      |                                           ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  183|   
#  184|   public:
#  185|->     DThemeManagerPrivate(DThemeManager *qq)
#  186|           : DObjectPrivate(qq) {}
#  187|   

Error: COMPILER_WARNING (CWE-477): [#def104]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp: scope_hint: In member function ‘void Dtk::Widget::DThemeManagerPrivate::registerWidget(QWidget*, const QString&, const QStringList&)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp:277:35: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  277 |         auto dtm = DThemeManager::instance();
#      |                                   ^~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  275|           auto themeurl = themeURL(fallbackWidgetThemeName(widget), filename);
#  276|   
#  277|->         auto dtm = DThemeManager::instance();
#  278|           widget->setStyleSheet(widget->styleSheet() + dtm->d_func()->getQssContent(themeurl));
#  279|           widget->style()->polish(widget);

Error: COMPILER_WARNING (CWE-477): [#def105]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp:293:43: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  293 |         dtm->connect(dtm, &DThemeManager::themeChanged,
#      |                                           ^~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  291|           };
#  292|   
#  293|->         dtm->connect(dtm, &DThemeManager::themeChanged,
#  294|           widget, [reloadTheme, widget, filename](QString theme) {
#  295|               reloadTheme(widget, filename, theme);

Error: COMPILER_WARNING (CWE-477): [#def106]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dthememanager.cpp:298:43: warning[-Wdeprecated-declarations]: ‘DThemeManager’ is deprecated
#  298 |         dtm->connect(dtm, &DThemeManager::widgetThemeChanged, widget,
#      |                                           ^~~~~~~~~~~~~~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dthememanager.h:19:51: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED DThemeManager : public QObject, public DTK_CORE_NAMESPACE::DObject
#      |                                                   ^~~~~~~~~~~~~
#  296|           });
#  297|   
#  298|->         dtm->connect(dtm, &DThemeManager::widgetThemeChanged, widget,
#  299|           [reloadTheme, widget, filename](QWidget * w, QString theme) {
#  300|               if (widget == w) {

Error: COMPILER_WARNING (CWE-477): [#def107]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dtoast.cpp:25:29: warning[-Wdeprecated-declarations]: ‘DToast’ is deprecated: Use DMessageManager
#   25 |     DToastPrivate(DToast *qq);
#      |                             ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dtoast.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dtoast.h:19:76: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DMessageManager") DToast : public QFrame, public DTK_CORE_NAMESPACE::DObject
#      |                                                                            ^~~~~~
#   23|   {
#   24|   public:
#   25|->     DToastPrivate(DToast *qq);
#   26|   
#   27|       QIcon   icon;

Error: COMPILER_WARNING (CWE-477): [#def108]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dtoast.cpp:213:40: warning[-Wdeprecated-declarations]: ‘DToast’ is deprecated: Use DMessageManager
#  213 | DToastPrivate::DToastPrivate(DToast *qq)
#      |                                        ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dtoast.h:19:76: note: declared here
#   19 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DMessageManager") DToast : public QFrame, public DTK_CORE_NAMESPACE::DObject
#      |                                                                            ^~~~~~
#  211|   }
#  212|   
#  213|-> DToastPrivate::DToastPrivate(DToast *qq)
#  214|       : DObjectPrivate(qq)
#  215|   {

Error: COMPILER_WARNING (CWE-477): [#def109]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:8: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dimagebutton_p.h:19:50: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#   19 |     explicit DImageButtonPrivate(DImageButton *qq);
#      |                                                  ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/dimagebutton.cpp:5: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#   17|   {
#   18|   public:
#   19|->     explicit DImageButtonPrivate(DImageButton *qq);
#   20|       ~DImageButtonPrivate();
#   21|   

Error: COMPILER_WARNING (CWE-477): [#def110]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dimagebutton_p.h:23:44: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#   23 |     void setState(DImageButton::State state);
#      |                                            ^
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#   21|   
#   22|       void updateIcon();
#   23|->     void setState(DImageButton::State state);
#   24|       QPixmap loadPixmap(const QString &path);
#   25|   

Error: COMPILER_WARNING (CWE-477): [#def111]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dimagebutton_p.h:26:17: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#   26 |     DImageButton::State m_state = DImageButton::Normal;
#      |                 ^~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#   24|       QPixmap loadPixmap(const QString &path);
#   25|   
#   26|->     DImageButton::State m_state = DImageButton::Normal;
#   27|   
#   28|       bool m_isChecked = false;

Error: COMPILER_WARNING (CWE-477): [#def112]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dimagebutton_p.h:26:49: warning[-Wdeprecated-declarations]: ‘DImageButton’ is deprecated: Use DIconButton
#   26 |     DImageButton::State m_state = DImageButton::Normal;
#      |                                                 ^~~~~~
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dimagebutton.h:20:72: note: declared here
#   20 | class LIBDTKWIDGETSHARED_EXPORT D_DECL_DEPRECATED_X("Use DIconButton") DImageButton : public QLabel, public DTK_CORE_NAMESPACE::DObject
#      |                                                                        ^~~~~~~~~~~~
#   24|       QPixmap loadPixmap(const QString &path);
#   25|   
#   26|->     DImageButton::State m_state = DImageButton::Normal;
#   27|   
#   28|       bool m_isChecked = false;

Error: COMPILER_WARNING (CWE-477): [#def113]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/NJP35HVLN7/moc_dprintpreviewwidget_p.cpp:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/mocs_compilation.cpp:86: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dprintpreviewwidget_p.h: scope_hint: In member function ‘QVector<QPointF> Dtk::Widget::DPrintPreviewWidgetPrivate::NumberUpData::updatePositions(const qreal&)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dprintpreviewwidget_p.h:415:59: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  415 |         QRectF pageRect = parent->previewPrinter->pageRect();
#      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtPrintSupport/QPrinter:1: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/include/widgets/dprintpreviewwidget.h:18: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/YYBFEMM36I/moc_dprintpreviewwidget.cpp:10: included_from: Included from here.
dtkwidget-5.6.34-build/dtkwidget-5.6.34/redhat-linux-build/src/dtkwidget_autogen/mocs_compilation.cpp:50: included_from: Included from here.
/usr/include/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  413|           QRectF pageRect = parent->previewPrinter->pageLayout().paintRectPixels(parent->previewPrinter->resolution());
#  414|   #else
#  415|->         QRectF pageRect = parent->previewPrinter->pageRect();
#  416|   #endif
#  417|           QVector<QPointF> posList;

Error: COMPILER_WARNING (CWE-477): [#def114]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dprintpreviewwidget_p.h: scope_hint: In member function ‘void Dtk::Widget::DPrintPreviewWidgetPrivate::NumberUpData::setWaterMarksScale(qreal)’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dprintpreviewwidget_p.h:480:59: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  480 |         QRectF pageRect = parent->previewPrinter->pageRect();
#      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  478|           QRectF pageRect = parent->previewPrinter->pageLayout().paintRectPixels(parent->previewPrinter->resolution());
#  479|   #else
#  480|->         QRectF pageRect = parent->previewPrinter->pageRect();
#  481|   #endif
#  482|           QMargins pageMargins = parent->previewPrinter->pageLayout().marginsPixels(parent->previewPrinter->resolution());

Error: COMPILER_WARNING (CWE-563): [#def115]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dtitlebareditpanel.cpp: scope_hint: In member function ‘void Dtk::Widget::DCollapseWidget::updateMinimumValue()’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dtitlebareditpanel.cpp:354:22: warning[-Wunused-variable]: unused variable ‘dragDropWidget’
#  354 |             if (auto dragDropWidget = qobject_cast<DragDropWidget *>(w)) {
#      |                      ^~~~~~~~~~~~~~
#  352|               minimum += w->width();
#  353|               qDebug() << "+" << w->width();
#  354|->             if (auto dragDropWidget = qobject_cast<DragDropWidget *>(w)) {
#  355|                  if (m_settingsImpl->isSpacerTool(m_settingsImpl->findKeyByPos(i)) && !m_settingsImpl->isStrecherTool(m_settingsImpl->findKeyByPos(i))) {
#  356|                      minimum += SPACING;

Error: COMPILER_WARNING (CWE-563): [#def116]
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dtitlebareditpanel.cpp: scope_hint: In member function ‘void Dtk::Widget::DCollapseWidget::collapse()’
dtkwidget-5.6.34-build/dtkwidget-5.6.34/src/widgets/private/dtitlebareditpanel.cpp:405:18: warning[-Wunused-variable]: unused variable ‘spacerItem’
#  405 |         if (auto spacerItem = item->spacerItem()) { // 如果是spacer,只存数据,不处理expand按钮
#      |                  ^~~~~~~~~~
#  403|   
#  404|       if (auto item = m_mainHLayout->takeAt(index)) {
#  405|->         if (auto spacerItem = item->spacerItem()) { // 如果是spacer,只存数据,不处理expand按钮
#  406|               QPair<QString, QWidget*> tmp{m_settingsImpl->findKeyByPos(index), nullptr};
#  407|               m_viewsInMenu.append(tmp);

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-124.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namedtkwidget-5.6.34-2.fc42
store-results-to/tmp/tmpjw6zkx5v/dtkwidget-5.6.34-2.fc42.tar.xz
time-created2024-11-12 23:46:42
time-finished2024-11-12 23:52:10
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpjw6zkx5v/dtkwidget-5.6.34-2.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpjw6zkx5v/dtkwidget-5.6.34-2.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9