Kanzi 3.9 alpha 5 migration guide¶
Use this migration guide to update Kanzi applications from Kanzi 3.9 alpha 4 to Kanzi 3.9 alpha 5.
Changes to Activity functionality¶
Changes to CMake¶
Kanzi 3.9 alpha 5 introduces changes to CMake that are not compatible with the previous version of Kanzi. If your Kanzi application uses code behind functionality, to migrate your Kanzi 3.9 alpha 4 application to Kanzi 3.9 alpha 5:
Delete directories:
Project/Tool Project/CodeBehind/Application/configsProject/Tool Project/CodeBehind/Application/libProject/Tool Project/CodeBehind/Application/output
From the
<KanziWorkspace>/Templates/Code_behind_template/Applicationdirectory copy theCMakeLists.txtfile to the<ProjectName>/Tool Project/CodeBehind/Applicationdirectory.In the copied
CMakeLists.txtfile:Replace
Code_behind_templatewith<ProjectName>CodeBehind.For example, if your project name is called
MyActivities, replaceCode_behind_templatewithMyActivitiesCodeBehind.Replace
CODE_BEHIND_TEMPLATEwith<PROJECTNAME>CODEBEHIND.For example, if your project name is
MyActivities, replaceCODE_BEHIND_TEMPLATEwithMYACTIVITIESCODEBEHIND.
Save the updated
CMakeLists.txtand open the project in Kanzi.
Changes to Activity Browser plugin¶
In Kanzi 3.9 alpha 5 the Activity Browser plugin is built into Kanzi Studio. To prevent conflicts in Kanzi Studio, delete the C:\ProgramData\Rightware\Kanzi 3.9.0\plugins\ActivityBrowser.dll file.
Other changes¶
Moved task_dispatcher.hpp from kanzi/core.ui/scheduler to kanzi/core.ui/task_dispatcher.