Skip to content

Conversation

@Dylan-H
Copy link

@Dylan-H Dylan-H commented Jan 7, 2026

Since the emulator included with DevEco Studio does not support Vulkan, this demo can only run on a real device.
Screenshot_20260107101114624

@robertosfield
Copy link
Collaborator

Wow, are all those supporting files required for every harmony application?

FYI, vsg::Logger can be sub-classed to enable all vsg::info/vsg::warn etc. messages to be redirected to a custom logger. See vsglogger example. I think this would be better than having a macro as it would work for all VSG messages.

- Removed obsolete test files and mock configuration files
@Dylan-H
Copy link
Author

Dylan-H commented Jan 14, 2026

Many files are included with the template project; I have removed some unnecessary files. I have also added a Harmony implementation of vsg::Logger.

@robertosfield
Copy link
Collaborator

Thanks for the changes. Would it be worth moving the HarmonyLogger into the VSG alongside the other Harmony platform files?

@Dylan-H
Copy link
Author

Dylan-H commented Jan 14, 2026

I don't think it's necessary to include it in VSG, as it's just an application-layer example. VSG users should refine it according to their own needs.

"name": "default",
"type": "HarmonyOS",
"material": {
"certpath": "C:\\Users\\huang\\.ohos\\config\\default_VsgHarmony_Gj_LbL9cJ7EqTcCncNlPZOjKrVWG1MP7KjQ_Hw-o5vI=.cer",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't feel right to have user specific config files. Will these be overwritten by the dev environment at compile time or at runtime?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, this is the signature automatically created by the IDE for the debug version. It's associated with the Huawei developer account and should be deleted. When others debug on a real device, the IDE will guide them to create a new signature.

Removed signingConfigs section from build-profile.json5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants