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 WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
gradientgen.cpp Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
gradientgen.js WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
gradientgen.pro WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
package-lock.json Provide presets for QGradient 2018-05-31 15:50:50 +00:00
package.json Provide presets for QGradient 2018-05-31 15:50:50 +00:00
qt_attribution.json WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
README WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
WEBGRADIENTS_LICENSE.txt WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
webgradients.css WebGradients: redo implementation 2019-12-14 11:31:46 +01:00

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