-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[package] qt/6.5.3: Conan fails to configure Qt on macOS Sonoma #24016
Comments
Regarding first error (the failure to open conan_toolchain.cmake), you can either downgrade conan to 2.2.0, or use the following fix #24013 The solution to the second error in your log is to either disable qt quick |
I added the qtshadertools option but the error still exists [requires]
qt/6.5.3
[options]
qt/*:qtshadertools=True The error seems to be that the conan_toolchain.cmake file is not at the correct place Logs``` qt/6.5.3: Sources downloaded from 'conancenter' qt/6.5.3: Calling source() in /Volumes/SP_PHD_U3/Projects/Qt_conan/.conan2/p/qt2cfd9b4b7049f/s/src qt/6.5.3: Downloading 798.4MB qt-everywhere-src-6.5.3.tar.xz qt/6.5.3: Downloaded 115.3MB 14% qt-everywhere-src-6.5.3.tar.xz qt/6.5.3: Downloaded 231.0MB 28% qt-everywhere-src-6.5.3.tar.xz qt/6.5.3: Downloaded 346.7MB 43% qt-everywhere-src-6.5.3.tar.xz qt/6.5.3: Downloaded 461.4MB 57% qt-everywhere-src-6.5.3.tar.xz qt/6.5.3: Downloaded 578.4MB 72% qt-everywhere-src-6.5.3.tar.xz qt/6.5.3: Downloaded 694.1MB 86% qt-everywhere-src-6.5.3.tar.xz qt/6.5.3: Apply patch (bugfix): Workaround for too long .rps file name qt/6.5.3: Apply patch (bugfix): Fix build error with lambda on GCC 9.2 qt/6.5.3: Apply patch (bugfix): Use absolute path in the generated header files to avoid relative path longer than 250 characters (not supported on by msvc compiler)-------- Installing package qt/6.5.3 (33 of 33) --------
Call Stack (most recent call first): -- Using Conan toolchain: /Volumes/SP_PHD_U3/Projects/Qt_conan/.conan2/p/b/qt293cd3aa1e86e/b/build/Release/generators/conan_toolchain.cmake -- Configuration summary shown below. It has also been written to /Volumes/SP_PHD_U3/Projects/Qt_conan/.conan2/p/b/qt293cd3aa1e86e/b/build/Release/config.summary -- Configure summary: Building for: macx-clang (arm64, CPU features: neon crc32 crypto) Note: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library. WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation. -- Qt is now configured for building. Just run 'cmake --build . --parallel' Once everything is built, you must run 'cmake --install .' To configure and build other Qt modules, you can use the following convenience script: If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory -- Configuring incomplete, errors occurred! qt/6.5.3: ERROR:
|
Sorry I edited my message shortly after posting it, you probably read only the original message. The failure to open conan_toolchain.cmake) can be fixed either by downgrading to conan to 2.2.0, or using the following fix #24013 |
Thanks. Downgrading to 2.2.0 fixed that issue. |
Description
When trying to build Qt 6.5.3 Conan fails to configure the build. It complains about a missing
conan_toolchain.cmake
file in the sources:But the file seems to be created in the build directory:
Package and Environment Details
Conan profile
[settings]
arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos
Steps to reproduce
mkdir test && cd test
mkdir build && cd build
subdirectoryconan install .. --build=missing
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: