阅读:5712回复:20

qt插件加载的一个问题

楼主#
更多 发布于:2022-02-23 13:59
周大好:



KDE 版本是 Plasma5,qt 版本是 5.15.2 ,在 debian11 下,一切正常。



但在 manjaro ( Linux 5.13.19-2)  下面,qt 插件无法加载, cat 了一下 maps ,结果如下:





cmd.txt


其间,作了如下尝试: manjaro 输入法插件路径与其它发行版不同,是这个 ↓



/usr/lib/foxitreader/platforminputcontexts/libyongplatforminputcontextplugin.so


但无果,于是,就给小小的默认路径里,指了一个软链接:


ln -s /usr/lib/foxitreader/platforminputcontexts/libyongplatforminputcontextplugin.so /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libyongplatforminputcontextplugin.so

依然不行……


周大看看,是不是还有其它的依赖没有加载上来。
沙发#
发布于:2022-07-06 13:14
Scfy:留给邮箱我给你发一个我自己编译的Qt插件回到原帖
可否给一份我试试?我也是用arch,qt版本是5.15.5,试了周大的QT插件没作用。
laolang_cool@163.com,谢谢!
Scfy
新手上路
新手上路
板凳#
发布于:2022-02-27 12:20
留给邮箱我给你发一个我自己编译的Qt插件
Scfy
新手上路
新手上路
地板#
发布于:2022-02-27 12:17
cqoips:放弃了,Arch 上的开发包,跟普通包,在命名上都没什么区别,凑齐依赖都难。回到原帖
Scfy
新手上路
新手上路
4楼#
发布于:2022-02-27 12:16
cqoips:~/yong-master/config  node build.js -C im/qt5-im                                                                       ...回到原帖
给你一个我自己编译的Qt插件
Scfy
新手上路
新手上路
5楼#
发布于:2022-02-27 12:15
cqoips:~/yong-master/config  node build.js -C im/qt5-im                                                                       ...回到原帖
build.js放置的路径不对,build.js应该放在yong-master目录中
6楼#
发布于:2022-02-27 10:29
放弃了,Arch 上的开发包,跟普通包,在命名上都没什么区别,凑齐依赖都难。
7楼#
发布于:2022-02-27 08:42
Arch 上,真是难搞啊,开发包,包名也没什么特征,插件同版本不 work,低版本也不 work
8楼#
发布于:2022-02-27 08:40
Scfy:只编译Qt插件的话只需要gcc nodejs  pkgconf这三个包就可以了。如果需要完全编译的话再加一个gettext包,此方案只适用于archlinux系回到原帖
~/yong-master/config node build.js -C im/qt5-im                                                                                       1 ✘
node:internal/modules/cjs/loader:936
  throw err;
  ^
 
Error: Cannot find module '/home/i7/yong-master/config/build.js'
   at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
   at Function.Module._load (node:internal/modules/cjs/loader:778:27)
   at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
   at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
 
Node.js v17.3.0
 

9楼#
发布于:2022-02-27 08:39
Scfy:只编译Qt插件的话只需要gcc nodejs  pkgconf这三个包就可以了。如果需要完全编译的话再加一个gettext包,此方案只适用于archlinux系回到原帖
node build.js l64                                                                                                 1 ✘
node:internal/modules/cjs/loader:936
  throw err;
  ^
 
Error: Cannot find module '/home/i7/yong-master/config/build.js'
   at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
   at Function.Module._load (node:internal/modules/cjs/loader:778:27)
   at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
   at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
 
Node.js v17.3.0
 

上一页
游客

返回顶部