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
The cmake target Qt6::HttpServer is never found when running cmake:
CMake Error at tests/CMakeLists.txt:18 (target_link_libraries): Target "tests" links to: Qt6::HttpServer but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing.
That happens even if the module is enabled in the conanfile.txt:
[requires]
qt/6.4.2
nlohmann_json/3.10.5
# These are not direct dependencies but their
# versions need to be fixed to resolve conflicts.
glib/2.76.3
openssl/1.1.1t
[generators]
CMakeToolchain
CMakeDeps
pkg_config
virtualrunenv
[options]
qt:shared=True
qt:qtmqtt=True
qt:qthttpserver=True
qt:qtwebsockets=True
# Disable GUI-related options that are enabled by default
qt:gui=False
qt:widgets=False
qt:with_x11=False
Description
The cmake target Qt6::HttpServer is never found when running cmake:
That happens even if the module is enabled in the conanfile.txt:
Package and Environment Details
Conan profile
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=12
compiler.libcxx=libstdc++11
build_type=Release
compiler.cppstd=17
[options]
[build_requires]
[env]
Steps to reproduce
Using the conanfile.txt file indicated in the description, run the conan install command:
conan install . --build=missing -if install-dir -pr:b=default
And then run cmake:
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: