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.
解決済! 解決策の投稿を見る。