This should be reported to maintainers of meta-qt6 perhaps?

Alex

On Wed, 23 Oct 2024 at 09:52, bartiszosti via lists.yoctoproject.org
<bartiszosti=gmail....@lists.yoctoproject.org> wrote:
>
> Hello,
> I'm working on image which needs Qt6. I succeeded to add the layer, build the 
> image and run it on the hardware.
> Next, I generated the SDK, so I generated it by the "-c populate_sdk" option 
> and also I inherited the "populate_sdk_qt6", correct, as well.
> The problem is that I can't build my application through the SDK, because:
>
> cmake ..
> -- The CXX compiler identification is GNU 13.3.0
> -- The C compiler identification is GNU 13.3.0
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: 
> /home/bstk/Documents/sdk/sysroots/x86_64-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-g++
>  - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: 
> /home/bstk/Documents/sdk/sysroots/x86_64-fslsdk-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-gcc
>  - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
> -- Found Threads: TRUE
> -- Performing Test HAVE_STDATOMIC
> -- Performing Test HAVE_STDATOMIC - Success
> -- Found WrapAtomic: TRUE
> -- Performing Test HAVE_EGL
> -- Performing Test HAVE_EGL - Success
> -- Found EGL: 
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/include 
> (found version "1.5")
> -- Performing Test HAVE_GLESv2
> -- Performing Test HAVE_GLESv2 - Success
> -- Found GLESv2: 
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/include
> -- Found XKB: 
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/libxkbcommon.so
>  (found suitable version "1.6.0", minimum required is "0.5.0")
> -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
> CMake Error at 
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6QmlBuiltins/Qt6QmlBuiltinsTargets.cmake:128
>  (message):
>   The imported target "Qt6::QmlBuiltins" references the file
>      
> "/home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/libQt6QmlBuiltins.a"
>   but this file does not exist.  Possible reasons include:
>   * The file was deleted, renamed, or moved to another location.
>   * An install or uninstall procedure did not complete successfully.
>   * The installation package was faulty and contained
>      
> "/home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6QmlBuiltins/Qt6QmlBuiltinsTargets.cmake"
>   but not all the files it references.
> Call Stack (most recent call first):
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6QmlBuiltins/Qt6QmlBuiltinsConfig.cmake:65
>  (include)
>   
> /home/bstk/Documents/sdk/sysroots/x86_64-fslsdk-linux/usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76
>  (find_package)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111
>  (find_dependency)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6Qml/Qt6QmlDependencies.cmake:42
>  (_qt_internal_find_qt_dependencies)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:54
>  (include)
>   
> /home/bstk/Documents/sdk/sysroots/x86_64-fslsdk-linux/usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76
>  (find_package)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111
>  (find_dependency)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:42
>  (_qt_internal_find_qt_dependencies)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:53
>  (include)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6/Qt6Config.cmake:179
>  (find_package)
>   CMakeLists.txt:12 (find_package)
>
> CMake Warning at 
> /home/bstk/Documents/sdk/sysroots/x86_64-fslsdk-linux/usr/share/cmake-3.28/Modules/CMakeFindDependencyMacro.cmake:76
>  (find_package):
>   Found package configuration file:
>     
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake
>   but it set Qt6Qml_FOUND to FALSE so package "Qt6Qml" is considered to be
>   NOT FOUND.
> Call Stack (most recent call first):
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111
>  (find_dependency)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:42
>  (_qt_internal_find_qt_dependencies)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:53
>  (include)
>   
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6/Qt6Config.cmake:179
>  (find_package)
>   CMakeLists.txt:12 (find_package)
>
> CMake Warning at 
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6/Qt6Config.cmake:179
>  (find_package):
>   Found package configuration file:
>     
> /home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake
>   but it set Qt6Quick_FOUND to FALSE so package "Qt6Quick" is considered to
>   be NOT FOUND.
> Call Stack (most recent call first):
>   CMakeLists.txt:12 (find_package)
>
> -- Configuring incomplete, errors occurred!
>
>
>
> And I'm blocked. The 
> "/home/bstk/Documents/sdk/sysroots/cortexa53-crypto-fsl-linux/usr/lib/libQt6QmlBuiltins.a"
>  doesn;t exist, but this file is in 
> "/home/bstk/Documents/sdk/sysroots/x86_64-fslsdk-linux/usr/lib/libQt6QmlBuiltins.a".
>  Do you know where the issue is?
>
> I tried the official meta-qt6 and from YoeDistro.
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64090): https://lists.yoctoproject.org/g/yocto/message/64090
Mute This Topic: https://lists.yoctoproject.org/mt/109166871/21656
Mute #cmake:https://lists.yoctoproject.org/g/yocto/mutehashtag/cmake
Mute #imx8:https://lists.yoctoproject.org/g/yocto/mutehashtag/imx8
Mute #qt:https://lists.yoctoproject.org/g/yocto/mutehashtag/qt
Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap
Mute #sdk:https://lists.yoctoproject.org/g/yocto/mutehashtag/sdk
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to