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
Forum Updated to NodeBB v4.3 + New Features

CMake can NOT find Vulkan when building

Scheduled Pinned Locked Moved Solved General and Desktop
windowscmakevulkanmissing
3 Posts 3 Posters 2.2k 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 5 Feb 2024, 07:14 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 :)

    J S 2 Replies Last reply 5 Feb 2024, 07:20
    0
    • P PerssonBrown
      5 Feb 2024, 07:14

      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 :)

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 5 Feb 2024, 07:20 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
        5 Feb 2024, 07:14

        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 :)

        S Offline
        S Offline
        sierdzio
        Moderators
        wrote on 5 Feb 2024, 07:20 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 5 Feb 2024, 07:24

        2/3

        5 Feb 2024, 07:20

        • Login

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