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:

  1. Delete directories:

    • Project/Tool Project/CodeBehind/Application/configs

    • Project/Tool Project/CodeBehind/Application/lib

    • Project/Tool Project/CodeBehind/Application/output

  2. From the <KanziWorkspace>/Templates/Code_behind_template/Application directory copy the CMakeLists.txt file to the <ProjectName>/Tool Project/CodeBehind/Application directory.

  3. In the copied CMakeLists.txt file:

    • Replace Code_behind_template with <ProjectName>CodeBehind.

      For example, if your project name is called MyActivities, replace Code_behind_template with MyActivitiesCodeBehind.

    • Replace CODE_BEHIND_TEMPLATE with <PROJECTNAME>CODEBEHIND.

      For example, if your project name is MyActivities, replace CODE_BEHIND_TEMPLATE with MYACTIVITIESCODEBEHIND.

  4. Save the updated CMakeLists.txt and 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.

See also

Kanzi 3.9 alpha 5 release notes

Known issues