Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.1.0 Beta3
-
None
Description
When you try to build a simple example in QT6, even if you do not need Vulkan, OpenSSL, etc, CMake tries to find them and, if not installed, it throws
Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR)
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
Could NOT find WrapOpenSSLHeaders (missing: WrapOpenSSLHeaders_FOUND)
Which is very annoying.
The CMake find_package command supports the QUIT parameter to avoid these warnings.
find_package(Qt6 COMPONENTS Core QUIET)
Maybe introduced a way to decide if this warning should be quiet or not.
Attachments
Issue Links
- is duplicated by
-
QTBUG-95886 Configuring user project prints messages about Vulkan not being found
- Closed