Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. CMake can NOT find Vulkan when building
Qt 6.11 is out! See what's new in the release blog

CMake can NOT find Vulkan when building

Scheduled Pinned Locked Moved Solved General and Desktop
windowscmakevulkanmissing
3 Posts 3 Posters 3.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PerssonBrown
    wrote on last edited by
    #1

    OS: Windows 11
    Qt version: 6.6.1

    CMake always reports missing: Vulkan_INCLUDE_DIR, like this:

    0fee4915-5f7d-46aa-847a-c44a157643a0-image.png

    This project is generated with a template(Qt Widgets Application) in Qt Creator, and I didn't modify any files.

    Here are my questions:

    • What is Vulkan?
    • Do all Widget Applications need Vulkan?
    • How to fix this missing warning?

    I am new in QT, please be nice to me :)

    jsulmJ sierdzioS 2 Replies Last reply
    0
    • P PerssonBrown

      OS: Windows 11
      Qt version: 6.6.1

      CMake always reports missing: Vulkan_INCLUDE_DIR, like this:

      0fee4915-5f7d-46aa-847a-c44a157643a0-image.png

      This project is generated with a template(Qt Widgets Application) in Qt Creator, and I didn't modify any files.

      Here are my questions:

      • What is Vulkan?
      • Do all Widget Applications need Vulkan?
      • How to fix this missing warning?

      I am new in QT, please be nice to me :)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @PerssonBrown Vulcan is a 3D graphics API, see https://en.wikipedia.org/wiki/Vulkan
      On Windows you can ignore this, Qt is using DirectX or OpenGL on Windows.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P PerssonBrown

        OS: Windows 11
        Qt version: 6.6.1

        CMake always reports missing: Vulkan_INCLUDE_DIR, like this:

        0fee4915-5f7d-46aa-847a-c44a157643a0-image.png

        This project is generated with a template(Qt Widgets Application) in Qt Creator, and I didn't modify any files.

        Here are my questions:

        • What is Vulkan?
        • Do all Widget Applications need Vulkan?
        • How to fix this missing warning?

        I am new in QT, please be nice to me :)

        sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        @PerssonBrown said in CMake can NOT find Vulkan when building:

        Here are my questions:

        • What is Vulkan?

        It is a library for displaying graphics, much like OpenGL, DirectX or Metal.

        • Do all Widget Applications need Vulkan?

        No, you can safely ignore this warning. When Vulkan is not present, Qt will use other libraries to draw stuff.

        • How to fix this missing warning?

        On Windows I'm not sure if you can fix it, but you can ignore it.

        (Z(:^

        1 Reply Last reply
        0
        • P PerssonBrown has marked this topic as solved on

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved