Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103797

error C2220: the following warning is treated as an error: \Users\qt\work\qt\qttools\src\shared\qttoolbardialog\qttoolbardialog.cpp(1068): warning C4996: 'QTreeWidgetItem::setTextAlignment': Use the overload taking Qt::Alignment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 6.4.0 FF
    • Fix Version/s: 6.4.0 Beta1
    • Component/s: Tools: Designer
    • Labels:
      None
    • Commits:
      0c9bcf69d8 (qt/qttools/dev) 0c9bcf69d8 (qt/tqtc-qttools/dev) 0c9bcf69d8 (qt/qttools/6.4) 0c9bcf69d8 (qt/tqtc-qttools/6.4)

      Description

      /Fdsrc\designer\src\designer\CMakeFiles\designer.dir\RelWithDebInfo\ /FS -c \Users\qt\work\qt\qttools\src\shared\qttoolbardialog\qttoolbardialog.cpp
       \Users\qt\work\qt\qttools\src\shared\qttoolbardialog\qttoolbardialog.cpp(1068): error C2220: the following warning is treated as an error
      \Users\qt\work\qt\qttools\src\shared\qttoolbardialog\qttoolbardialog.cpp(1068): warning C4996: 
      'QTreeWidgetItem::setTextAlignment': 
      Use the overload taking Qt::Alignment
      \Users\qt\work\qt\qttools\src\shared\qttoolbardialog\qttoolbardialog.cpp(1394): warning C4996: 'QListWidgetItem::setTextAlignment': 
      Use the overload taking Qt::Alignment
      \Users\qt\work\qt\qttools\src\shared\qttoolbardialog\qttoolbardialog.cpp(1475): warning C4996: 
      'QListWidgetItem::setTextAlignment': Use the overload taking Qt::Alignment
      

      Build log: https://testresults.qt.io/logs/qt/qttools/8460d2ca2d61ec32616f083ca695218c95cb299e/WindowsWindows_11_21H2x86_64WindowsWindows_11_21H2x86_64MSVC2019qtci-windows-11_21H2-x86_64-51-615aaaDebugAndRelease_Sccache_WarningsAreErrors/55e2c3ee56b3e57cf3850248e1ffeecde60d098b/build_1653371044/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qttools/tasks/1653370977

      Tested changes (refs/builds/qtci/dev/1653369888):

      https://codereview.qt-project.org/c/qt/qttools/+/412660/2 Update dependencies on 'dev' in qt/qttools

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-103797
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              peppe Giuseppe D'Angelo
              Reporter:
              janihe Jani Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes