OpenHarmony开发者论坛

标题: 关于QtForOpenHarmony的libplugins_platforms_qopenharmony.so [打印本页]

作者: 利安    时间: 2025-2-20 16:31
标题: 关于QtForOpenHarmony的libplugins_platforms_qopenharmony.so
[md]### 【问题描述】

1. 目前在进行QtForOpenHarmony的入门开发,按照教程视频进行了操作

   [https://www.bilibili.com/video/BV1eG411D7hX/](https://gitee.com/link?target=ht ... o%2FBV1eG411D7hX%2F)

   但是在将libplugins_platforms_qOpenHarmony.so动态库文件移到entry/libs/armeabi-v7a之后,再进行构建,还是会出现

   hvigor WARN: ArkTS:WARN File: D:/DevEcoStudioProjects/testqt/entry/src/main/ets/native/QtApplication.ts:6:17
   Currently module for 'libplugins_platforms_qopenharmony.so' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared.

   的警告

   并且,在QtApplication.ts中也还是出现error如下

   ![image.png](https://forums-obs.openharmony.c ... q5t3qtwqp7pql7h.png "image.png")

   提示找不到这个so文件

   硬着头皮直接在设备上运行出现问题如下

   ![image.png](https://forums-obs.openharmony.c ... ndmxiu4t883u5nu.png "image.png")

请问这个该如何解决呢?

### 【运行环境】

硬件:
ROM版本:
DevEvoStudio版本:
SDK版本:
[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5