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

QRandomGenerator64 refers to functions as static, aren't.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15
    • Fix Version/s: 6.1.2, 6.2.0 Alpha
    • Component/s: Documentation
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      b43ec7e9f9d043ee3b82a5207ac124d77ce5afca (qt/qtbase/dev) 21cd4b8597d21ccf0beefc59545275df87459d8a (qt/qtbase/6.2) 363158c019ae39910a56a37fa44394cc4eb49e3a (qt/tqtc-qtbase/5.15) 78613566c64af03e57e66e773db42107ee8bc09b (qt/qtbase/6.1)
    • Sprint:
      Da Vinci sprint 36

      Description

      https://doc.qt.io/qt-5/qrandomgenerator64.html#generate

      Refers to a static

      QRandomGenerator64::generate()

      but it won't compile. It probably meant:

      QRandomGenerator64::global()->generate()

      ?

      This is true for the non-64 variant too.

        Attachments

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

          Activity

            People

            Assignee:
            paulwicking Paul Wicking
            Reporter:
            scorp1us Jason Hihn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes