Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.0.0 Beta3
-
None
Description
Building qt3d using Conan for Android on Windows and Linux works correctly with the official profiles and conan_file.py files. However, building the example 3d-text with the built qt3d module doesn't seem to work.
The CMakeLists.txt file contains the following extra lines:
include(C:/Qt/AdditionalLibraries/Qt/qt3d-6.0.0/build/conan_paths.cmake)
and just before the "find_package()" calls
list(APPEND CMAKE_FIND_ROOT_PATH "C:/Users/VBOX/.conan/data/qt3d/6.0.0/qt/beta/package/b2a69d4718d74f3227fc561c7aabc8db71b19f90")
The command used to configure and build the project (in the build folder)
C:\Qt\6.0.0\android_arm64_v8a\bin\qt-cmake.bat -GNinja -S .. -B . -DANDROID_SDK_ROOT=%ANDROID_SDK_ROOT% -DANDROID_NDK_ROOT=%ANDROID_NDK_ROOT% -DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=C:/Qt/AdditionalLibraries/Qt/qt3d-6.0.0/build
Also tried the command with QT_ADDITIONAL_PACKAGES_PREFIX_PATH pointing to the Conan build cache for the qt3d module. And also tried setting the following in the qt-cmake command while commenting out the include of conan_paths.cmake in the CMakeLists.txt file.
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON
All cases fail to configure to find Qt3D module components, logs are attached.
Attachments
Issue Links
- resulted in
-
QTBUG-88519 androiddeployqt doesn't know about Conan's build path
- Closed