[other] 其他版本Qt应用程序如何调起Deepin应用程序
Tofloor
poster avatar
classfound
deepin
2021-08-10 22:28
Author

问题描述:Qt5.13.2编译开发的应用程序,调用起Deepin的默认应用程序(20.2版本系统,系统qt版本为5.15),调用时,提示找不到 5.15的类库。

demo以及运行结果:

Reply Favorite View the author
All Replies
yumengjiao
deepin
2021-08-11 00:25
#1

有个东西叫环境变量

Reply View the author
depend
deepin
2021-08-11 01:29
#2

system("deepin-editor")试试

Reply View the author
classfound
deepin
2021-08-11 03:52
#3
yumengjiao

有个东西叫环境变量

应用程序是要使用5.13.2编译的。各自单独启动都没有问题,以进程方式启动类库才找不到的

Reply View the author