Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.3
-
None
-
-
6e1ec45c5 (dev), 3b2306f6b (6.8), 56248f1cf (lts-6.5)
Description
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.
Attachments
Issue Links
- relates to
-
QTBUG-125765 QML builtins are linked into user binaries
- Closed
- resulted in
-
QTBUG-130534 libQt6QmlToolingSettings.a is required for user app configure step
- Closed
For Gerrit Dashboard: QTBUG-130442 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
601496,2 | sdk: include staticdev packages by default | dev | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
602010,2 | sdk: include staticdev packages by default | 6.8 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |
602110,2 | sdk: include staticdev packages by default | lts-6.5 | yocto/meta-qt6 | Status: MERGED | +2 | 0 |