summaryrefslogtreecommitdiffstats
path: root/util/gradientgen/tobinaryjson.pro
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-05-12 00:14:26 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-05-15 02:16:45 +0200
commitba74bd6c3837d2cdabb7c73a9fa7a041323bfa45 (patch)
tree21dca31e670812435c1562661f63f46ff59db2d4 /util/gradientgen/tobinaryjson.pro
parent786ae0141a524c66e01e652aed0e6ed4c97d08bc (diff)
Revert "WebGradients: redo implementation"
Q_ARRAY_LITERAL does not work properly in Qt 5, and no fix is planned for it, so this implementation (that relies on it) must be removed as well; it's causing regressions from Qt 5.14. More in detail: a QVector built using Q_ARRAY_LITERAL will not copy the existing contents when it detaches. This corrupts the preset gradients. A followup commit will also revert the corresponding QVector constructor so that no one will try to use it. This reverts commit 5b4b437b30b320e2cd7c9a566999a39772e5d431. Task-number: QTBUG-84069 Change-Id: Ia828f3e8a124331b58e0322e322707f4d54769f0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util/gradientgen/tobinaryjson.pro')
-rw-r--r--util/gradientgen/tobinaryjson.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/gradientgen/tobinaryjson.pro b/util/gradientgen/tobinaryjson.pro
new file mode 100644
index 0000000000..8aa9d0d008
--- /dev/null
+++ b/util/gradientgen/tobinaryjson.pro
@@ -0,0 +1,3 @@
+SOURCES += tobinaryjson.cpp
+QT = core
+CONFIG += cmdline