qt5base-lts/util/gradientgen
Allan Sandfeld Jensen 6f0df02d00 Replace Qt CONSTEXPR defines with constexpr
Both normal and relaxed constexpr are required by our new minimum of
C++17.

Change-Id: Ic028b88a2e7a6cb7d5925f3133b9d54859a81744
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2020-08-14 15:52:58 +02:00
..
.gitignore
gradientgen.cpp Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
gradientgen.js
gradientgen.pro
package-lock.json
package.json
qt_attribution.json
README
WEBGRADIENTS_LICENSE.txt
webgradients.css

Regeneration of gradients:

0) Grab a new .css for the webgradients
1) Run the gradientgen.js script (requires node):

   gradientgen.js enum webgradients.css    # will regen the enumeration names (on stdout)
   gradientgen.js json webgradients.css    # will regen the actual gradients (on stdout)

2) Build gradientgen.pro
3) Run gradientgen, passing the json as stdin, the result will be on stdout