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

https://doc.qt.io/qt-6/qt3drender-qmaterial.html example code misses parentheses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.6.1, 6.7.0 FF
    • 6.6.0
    • Documentation
    • None
    • All
    • 8f7e8e51e (dev), 494683144 (6.6)
    • DaVinci 90

    Description

      The example Code on https://doc.qt.io/qt-6/qt3drender-qmaterial.html misses some closing brackets

      material1->addParameter(new QParameter(parameterName, QColor::fromRgbF(0.0f, 1.0f, 0.0f, 1.0f);
      material2->addParameter(new QParameter(parameterName, QColor::fromRgbF(1.0f, 1.0f, 1.0f, 1.0f);

      Attachments

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

        Activity

          People

            paulwicking Paul Wicking
            niesommer nie sommer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes