You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project where I use qt built with conan (on Windows using the MinGW toolchain).
Everything works fine if I compile in release mode, but when I switch to debug-mode, configuring my project with cmake using the conan-generated toolchain file fails. The reason is that the cmake files generated by conan use "d" suffixes for the names of Qt libraries, while the generated Qt package contains libraries without the "d" suffix.
I get the following errror message:
CMake Error at build-mingw-debug/cmakedeps_macros.cmake:39 (message):
Library 'Qt6EntryPointd' not found in package. If 'Qt6EntryPointd' is a
system library, declare it with 'cpp_info.system_libs' property
Call Stack (most recent call first):
build-mingw-debug/Qt6-Target-debug.cmake:24 (conan_package_library_targets)
build-mingw-debug/Qt6Targets.cmake:26 (include)
build-mingw-debug/Qt6Config.cmake:10 (include)
CMakeLists.txt:73 (find_package)
In the Qt package there is only a libQt6EntryPoint.a but no libQt6EntryPointd.a
Description
I have a project where I use qt built with conan (on Windows using the MinGW toolchain).
Everything works fine if I compile in release mode, but when I switch to debug-mode, configuring my project with cmake using the conan-generated toolchain file fails. The reason is that the cmake files generated by conan use "d" suffixes for the names of Qt libraries, while the generated Qt package contains libraries without the "d" suffix.
I get the following errror message:
In the Qt package there is only a
libQt6EntryPoint.a
but nolibQt6EntryPointd.a
Package and Environment Details
Conan profile
[settings]
os=Windows
arch=x86_64
build_type=Release
compiler=gcc
compiler.threads=posix
compiler.libcxx=libstdc++11
compiler.version=12
compiler.exception=seh
[options]
[conf]
[build_requires]
*: mingw-builds/12.2.0
[env]
Steps to reproduce
My conanfile:
My CMakeLists.txt:
Commands:
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: