Qt compiles Android project and outputs garbled code

The garbled code is as follows:

:-1: error: 娉C:\Qt\6.5.0\android_arm64_v8a\src\android\java\src\org\qtproject\qt\android\bindings\QtActivity.java The API is the API,
the link is the API, and the API is the API.

The correct one should be:

 :-1: error: Note: C:\Qt\6.5.0\android_arm64_v8a\src\android\java\src\org\qtproject\qt\android\bindings\QtActivity.java uses or overrides an obsolete API.
NOTE: For more information, recompile with -Xlint:deprecation.

This is not actually an error, just a warning.

If you want to avoid garbled characters, you can set it here:

 However, after setting, other output may be garbled, so it is recommended not to modify it and still use System.

 

Guess you like

Origin blog.csdn.net/weixin_41013202/article/details/132045214