Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92587

Quiet "not found"warning for Vulkan, OpenSSL and WrapOpenSSLHeaders in QT6

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.1.0 Beta3
    • Build System: CMake
    • None
    • Windows

    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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              vix ERNESTO VIGANO'
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes