Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27468

Fix deprecation warnings whith Qt 6.3+ build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 7.0.1
    • QML Profiler
    • None
    • 79d08bd5dd2f985cb8fd2e66774830d1e339e287

    Description

      qmlprofilerbindingloopsrenderpass.cpp:387:26: 'CustomCompileStep' is deprecated: Qt 6 does not have custom shader compilation support. If the intention is to just disable batching, use NoBatching instead.
      0:0: :61:27: note: 'CustomCompileStep' has been explicitly marked deprecated here
      
      BindingLoopMaterial::BindingLoopMaterial()
      {
          setFlag(QSGMaterial::Blending, false);
      #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
          setFlag(QSGMaterial::CustomCompileStep, true);
      #endif // >= Qt 6
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes