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

QRandomGenerator64 refers to functions as static, aren't.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.1.2, 6.2.0 Alpha
    • 5.15
    • Documentation
    • None
    • All
    • b43ec7e9f9d043ee3b82a5207ac124d77ce5afca (qt/qtbase/dev) 21cd4b8597d21ccf0beefc59545275df87459d8a (qt/qtbase/6.2) 363158c019ae39910a56a37fa44394cc4eb49e3a (qt/tqtc-qtbase/5.15) 78613566c64af03e57e66e773db42107ee8bc09b (qt/qtbase/6.1)
    • 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

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

        Activity

          People

            paulwicking Paul Wicking
            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