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

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

XMLWordPrintable

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

      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);

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

            paulwicking Paul Wicking
            jirauser44868 user-e2e87 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes