完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
项目需要QT 5.12.2,编译时qwayland报错,从错误上看是由于补丁0024-qwaylandwindow-Support-setting-window-blocked-state.patch和版本不符合。重复定义这个可以改下,但是下面还有wlSurface的报错 这些补丁不合行不行?或者有其他的解决方法。 另:QT 5.14.2编译时没有报这个错误
|
|
相关推荐
3个回答
|
|
|
|
|
|
|
|
|
好的,我试试。谢谢
|
|
|
|
|
|
采用了遇到错误解决错误的方式解决了这个问题。
1.将QT版本修改为5.12.2, rk356x_linux_release_20211019buildrootconfigsrockchipqt.config BR2_PACKAGE_QT5_VERSION_5_12=y 2.修改qwayland的pro文件,否则不编译插件库。buildrootoutputrockchip_rk3566buildqt5wayland-5.12.2srcsrc.pro qtConfig(wayland-client) { sub_qtwaylandscanner.subdir = qtwaylandscanner sub_qtwaylandscanner.target = sub-qtwaylandscanner SUBDIRS += sub_qtwaylandscanner sub_client.subdir = client sub_client.depends = sub-qtwaylandscanner sub_client.target = sub-client SUBDIRS += sub_client /*添加部分*/ sub_plugins.subdir = plugins sub_plugins.depends += sub-qtwaylandscanner sub_plugins.depends += sub-client sub_plugins.target = sub-plugins SUBDIRS += sub_plugins 3.此时编译会报错,将插件中buildrootoutputrockchip_rk3566buildqt5wayland-5.12.2srcpluginshardwareintegrationhardwareintegration.pro SUBDIRS += client SUBDIRS += compositor /*该行删除*/ 注:项目中没有用compositor 以上笨方法,解决燃眉之急 |
|
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
谁有3566+电池+POE充电的方案,有个项目需要用该功能的主板
437 浏览 0 评论
RK3588的GMAC0与PHY的参考时钟电平匹配问题??????
4425 浏览 1 评论
请问各位大佬,如何解决,瑞芯微 RV1126B 使用 mpp 自带工具 调试时,内核直接报错崩溃!
1802 浏览 0 评论
使用rk3568开发板,核0\\1\\3运行linux,核2运行hal,在核0中怎么关闭核2
2359 浏览 0 评论
2363 浏览 0 评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 01:13 , Processed in 0.705139 second(s), Total 78, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1918