Hi
We are using imx8qxp, Yocto3.0.
Kernel Version:5.4.70
We did not successfully use qtcreator debug mode,
However, on the X11 system of imx6 platform, this function is normal.
Do you have any suggestions.
解決済! 解決策の投稿を見る。
找到qt creator左侧的
项目->run->environment
在其中添加QT_QPA_PLATFORM_PLUGIN_PATH = $QTDIR/plugins/这个变量
在Command line arguments这一栏添加-platform wayland
然后就可以远程debug
设置XDG_RUNTIME_DIR这个变量,你们的wayland桌面可以正常显示?
你做交叉工具链的时候用的是什么命令?bitbake -c populate_sdk imx-image-full?如果你做的工具链是full版本,不会出现找不到library的问题
QT远程debug的功能目前我后面测试一下。你先试试把bin文件拷贝到板子上看看行不行。
你好
1 板卡上这个环境变量默认是有设置的
export XDG_RUNTIME_DIR="/run/user/0"
QtCreator里面该环境变量默认也是有设置的, 和板卡上的是一致的
2 交叉工具链是用命令bitbake -c populate_sdk imx-image-full编译的
3 bin文档拷到板子上运行是可以的
找到qt creator左侧的
项目->run->environment
在其中添加QT_QPA_PLATFORM_PLUGIN_PATH = $QTDIR/plugins/这个变量
在Command line arguments这一栏添加-platform wayland
然后就可以远程debug
你试一下的解决办法。
https://forum.qt.io/topic/60865/qt5-wayland-gui-application/4
weston合成器已经在运行了,所以只需要在debug运行的时候加上平台参数./myQt5App -platform wayland