forked from qt-creator/qt-creator
		
	QmlDesigner: Introduce multiple node instance server
For capturing data we need a atomic mechanism. So in one process multiple node instance server can be started and then a command is send back that a scene is created. It can be used to ensure that captured data of views is up to date. Task-number: QDS-2630 Change-Id: Iea8d0b036b6384c9c1b0f91af401f2b1f1978c12 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
		
				
					committed by
					
						 Thomas Hartmann
						Thomas Hartmann
					
				
			
			
				
	
			
			
			
						parent
						
							a535196c41
						
					
				
				
					commit
					0f9010d381
				
			| @@ -60,6 +60,7 @@ | ||||
| #include "removepropertiescommand.h" | ||||
| #include "removesharedmemorycommand.h" | ||||
| #include "reparentinstancescommand.h" | ||||
| #include "scenecreatedcommand.h" | ||||
| #include "statepreviewimagechangedcommand.h" | ||||
| #include "synchronizecommand.h" | ||||
| #include "tokencommand.h" | ||||
| @@ -223,6 +224,9 @@ void NodeInstanceServerInterface::registerCommands() | ||||
|  | ||||
|     qRegisterMetaType<CapturedDataCommand>("CapturedDataCommand"); | ||||
|     qRegisterMetaTypeStreamOperators<CapturedDataCommand>("CapturedDataCommand"); | ||||
|  | ||||
|     qRegisterMetaType<SceneCreatedCommand>("SceneCreatedCommand"); | ||||
|     qRegisterMetaTypeStreamOperators<SceneCreatedCommand>("SceneCreatedCommand"); | ||||
| } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user