Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. how use QtCore/QRandomGenerator in Qt 5.9.1 version in Qt/QML for my application
Forum Updated to NodeBB v4.3 + New Features

how use QtCore/QRandomGenerator in Qt 5.9.1 version in Qt/QML for my application

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 2 Posters 979 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Ngouda
    wrote on 10 Oct 2022, 14:20 last edited by
    #1

    Hello,
    I want to use QRandomGenerator to obtain random values from a high-quality Random Number Generator; but i have a version Qt5.9.1 he don't accept it.
    There is a way to replace QrandomGenerator for an anther Object please?
    b483b150-f8e1-434e-9bfa-8b59d5a2e812-image.png

    J 1 Reply Last reply 10 Oct 2022, 14:21
    0
    • N Ngouda
      10 Oct 2022, 14:20

      Hello,
      I want to use QRandomGenerator to obtain random values from a high-quality Random Number Generator; but i have a version Qt5.9.1 he don't accept it.
      There is a way to replace QrandomGenerator for an anther Object please?
      b483b150-f8e1-434e-9bfa-8b59d5a2e812-image.png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 10 Oct 2022, 14:21 last edited by
      #2

      @Ngouda Documentation says: "Since: Qt 5.10"
      https://doc.qt.io/qt-5/qrandomgenerator.html

      Do you have to use this old Qt version?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Ngouda
        wrote on 10 Oct 2022, 14:30 last edited by
        #3

        Hello jsulm,
        yes I have to use this old Qt Version

        J 1 Reply Last reply 10 Oct 2022, 14:33
        0
        • N Ngouda
          10 Oct 2022, 14:30

          Hello jsulm,
          yes I have to use this old Qt Version

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 10 Oct 2022, 14:33 last edited by
          #4

          @Ngouda Then you will have to use other solution. For example what C++ provides or Boost.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • N Offline
            N Offline
            Ngouda
            wrote on 10 Oct 2022, 14:47 last edited by
            #5

            Ok
            I test other solution, thanks you

            1 Reply Last reply
            0

            1/5

            10 Oct 2022, 14:20

            • Login

            • Login or register to search.
            1 out of 5
            • First post
              1/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved