Re-introducing pre-QRandomGenerator code

Authored by thomasfischer on Mar 29 2020, 8:39 PM.

Description

Re-introducing pre-QRandomGenerator code

Commit d6258827c872fc5b7862d94 introduced QRandomGenerator which became
available with Qt 5.10. This Qt version is available in virtually all
Desktop Linux distributions (even Debian stable uses 5.11).
However, SailfishOS still uses Qt 5.6.3 at the time of writing. To make
code compile, #ifdef gates have be introduced, providing alternative
code paths for pre-5.10 environments.

Details

Committed
thomasfischerMar 29 2020, 8:39 PM
Parents
R462:3b3ddcbeeeea: Adopting SailfishOS code to recent changes in desktop code
Branches
Unknown
Tags
Unknown