forked from qt-creator/qt-creator
QmlDesigner: Add image cache
The image cache is saving images and icon of this images in a sqlite database. If there are no images they are generated in the backgound. The icons are fetched by item library. Task-number: QDS-2782 Task-number: QDS-2783 Task-number: QDS-2858 Change-Id: I5a32cccfef7f8fd8eb78902605a09f5da18ce88e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "nodeinstanceserverdispatcher.h"
|
||||
|
||||
#include "qt5captureimagenodeinstanceserver.h"
|
||||
#include "qt5capturepreviewnodeinstanceserver.h"
|
||||
#include "qt5informationnodeinstanceserver.h"
|
||||
#include "qt5rendernodeinstanceserver.h"
|
||||
@@ -183,6 +184,8 @@ std::unique_ptr<NodeInstanceServer> createNodeInstanceServer(
|
||||
{
|
||||
if (serverName == "capturemode")
|
||||
return std::make_unique<Qt5CapturePreviewNodeInstanceServer>(nodeInstanceClient);
|
||||
else if (serverName == "captureiconmode")
|
||||
return std::make_unique<Qt5CaptureImageNodeInstanceServer>(nodeInstanceClient);
|
||||
else if (serverName == "rendermode")
|
||||
return std::make_unique<Qt5RenderNodeInstanceServer>(nodeInstanceClient);
|
||||
else if (serverName == "editormode")
|
||||
|
||||
Reference in New Issue
Block a user