aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/unittest/unittest.pro
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2021-01-13 13:23:46 +0100
committerMarco Bubke <marco.bubke@qt.io>2021-01-21 13:14:28 +0000
commit7dc72c533e4bba81ea3126d8cb98840ca746f786 (patch)
tree9acbffabd17c1ee9c89e4c6b73030d52feee3e7f /tests/unit/unittest/unittest.pro
parent3ffc7271e5739d3599e96847e2f5b9764a5c7f2a (diff)
QmlDesigner: Improve imagecache
Instead of coding some arguments to extraId(state) we provide now a std::variant there extra arguments can be saved. Because it's a std::variant it can be easlily extended by new structs. There is a new synchronous interface too. It has an extra method for QIcon which saves icons in an extra table. It would be even nicer if we would have a mipmap image too. So we could do it asynchonously too but so far it works only in the main thread. Task-number: QDS-3579 Fixes: QDS-3584 Change-Id: If368d84d82308a91a5f4f037021e749c9ef868ed Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests/unit/unittest/unittest.pro')
-rw-r--r--tests/unit/unittest/unittest.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/unittest/unittest.pro b/tests/unit/unittest/unittest.pro
index 6200a24d7f..2d8d51b7ba 100644
--- a/tests/unit/unittest/unittest.pro
+++ b/tests/unit/unittest/unittest.pro
@@ -66,7 +66,8 @@ SOURCES += \
filepathview-test.cpp \
gtest-creator-printing.cpp \
gtest-qt-printing.cpp \
- imagecache-test.cpp \
+ asynchronousimagecache-test.cpp \
+ synchronousimagecache-test.cpp \
imagecachegenerator-test.cpp \
imagecachestorage-test.cpp \
lastchangedrowid-test.cpp \