yocto meta-qt6 -> why is canbusutil located in /usr/bin/.debug ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

yocto meta-qt6 -> why is canbusutil located in /usr/bin/.debug ?

跳至解决方案
1,460 次查看
MicMoba
Contributor V

I created a yocto Kirkstone image with qt6 succesfully. I wonder why the canbusutil which is part of qtserialbus is located in /usr/bin/.debug

And it is only part of the SDK. I noticed that because I want to create a Qt-Creator-Project by importing a CMakeLists.txt file. This file contains the line:

 

 

find_package(Qt6 6.2 COMPONENTS Quick Svg Core SerialBus REQUIRED)

 

 

The find_package includes or uses the Qt6SerialBusToolsTargets-release.cmake file. And this file again set the path for canbusutil to "${_IMPORT_PREFIX}/bin/canbusutil"

This is the reason why Qt-Creator can not open the CMakeLists.txt file because a check routine can not find canbusutil at the given path.

So my question is why is canbusutil in the sub directory .debug and why ist the Qt6SerialBusToolsTargets-release.cmake file wrong (wrong path)

How can I avoid that the canbusutil binary is located at .debug or how can I tell Yocto to include the sub directory to the cmake file.

 

 

标记 (1)
0 项奖励
回复
1 解答
1,415 次查看
MicMoba
Contributor V
It is a bug of qt version 6.2 and 6.3.1. I updated to 6.5.1 and the problem is gone.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,416 次查看
MicMoba
Contributor V
It is a bug of qt version 6.2 and 6.3.1. I updated to 6.5.1 and the problem is gone.
0 项奖励
回复