I am trying to compile the virtualkeyboard and generate a ARM compatible .so file. I have the sysroots from buildroot and below is the cmake output.
Source code URL: https://download.qt.io/archive/qt/6.8/6.8.1/submodules/qtvirtualkeyboard-everywhere-src-6.8.1.tar.xz
Error message: Skipping the build as the condition "TARGET Qt::Quick" is not met. How to fix this?
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: /opt/my-os-sdk/buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-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: /opt/my-os-sdk/buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-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
CMake Warning at /opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:123 (find_package):
By not providing "FindPlatformGraphics.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"PlatformGraphics", but CMake did not find one.
Could not find a package configuration file provided by "PlatformGraphics"
with any of the following names:
PlatformGraphicsConfig.cmake
platformgraphics-config.cmake
Add the installation prefix of "PlatformGraphics" to CMAKE_PREFIX_PATH or
set "PlatformGraphics_DIR" to a directory containing one of the above
files. If "PlatformGraphics" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/FindGLESv2.cmake:13 (find_package)
/opt/my-os-sdk/buildroot/output/host/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:36 (find_dependency)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6Gui/Qt6GuiDependencies.cmake:35 (_qt_internal_find_third_party_dependencies)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:53 (include)
/opt/my-os-sdk/buildroot/output/host/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:143 (find_dependency)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6Svg/Qt6SvgDependencies.cmake:43 (_qt_internal_find_qt_dependencies)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6Svg/Qt6SvgConfig.cmake:53 (include)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake:191 (find_package)
CMakeLists.txt:20 (find_package)
-- Performing Test HAVE_EGL
-- Performing Test HAVE_EGL - Success
-- Found EGL: /opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include (found version "1.5")
CMake Warning at /opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/FindGLESv2.cmake:24 (find_package):
By not providing "FindPlatformGraphics.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"PlatformGraphics", but CMake did not find one.
Could not find a package configuration file provided by "PlatformGraphics"
with any of the following names:
PlatformGraphicsConfig.cmake
platformgraphics-config.cmake
Add the installation prefix of "PlatformGraphics" to CMAKE_PREFIX_PATH or
set "PlatformGraphics_DIR" to a directory containing one of the above
files. If "PlatformGraphics" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
/opt/my-os-sdk/buildroot/output/host/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:36 (find_dependency)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6Gui/Qt6GuiDependencies.cmake:35 (_qt_internal_find_third_party_dependencies)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:53 (include)
/opt/my-os-sdk/buildroot/output/host/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:143 (find_dependency)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6Svg/Qt6SvgDependencies.cmake:43 (_qt_internal_find_qt_dependencies)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6Svg/Qt6SvgConfig.cmake:53 (include)
/opt/my-os-sdk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake:191 (find_package)
CMakeLists.txt:20 (find_package)
-- Performing Test HAVE_GLESv2
-- Performing Test HAVE_GLESv2 - Success
Skipping the build as the condition "TARGET Qt::Quick" is not met.
-- Configuring done (6.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/user/qt6virtualkeyboard-6.8.1