Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Build qt6 with "Qt 3D APIs: Vulkan" enabled
QtWS25 Last Chance

Build qt6 with "Qt 3D APIs: Vulkan" enabled

Scheduled Pinned Locked Moved Unsolved Qt 6
7 Posts 2 Posters 1.7k Views
  • 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.
  • J Offline
    J Offline
    JAre
    wrote on last edited by
    #1

    Can you help me turn this on

    Qt 3D APIs:
      Vulkan ................................. no
    

    -feature-vulkan seems to affect:

      Vulkan ................................. yes
    

    My config (qt everywhere 6.3.0):

        ./configure -prefix /usr/local/Qt6 \
                    -c++std c++20 \
                    -skip qtwebengine \
                    -inotify \
                    -sctp \
                    -eventfd \
                    -feature-vulkan \
                    -make tools \
                    -make examples \
                    -I $VULKAN_HEADERS_INSTALL_DIR/include/ \
                    -L $VULKAN_LOADER_INSTALL_DIR/lib 
    

    Dockerfile and the full config log
    config report:

    Building for: linux-g++ (x86_64, CPU features: mmx sse sse2)
    Compiler: gcc 11.1.0
    Build options:
      Mode ................................... release
      Optimize release build for size ........ no
      Fully optimize release builds (-O3) .... no
      Building shared libraries .............. yes
      Using C standard ....................... C11
      Using C++ standard ..................... C++20
      Using ccache ........................... no
      Using new DTAGS ........................ yes
      Relocatable ............................ yes
      Using precompiled headers .............. yes
      Using LTCG ............................. no
      Target compiler supports:
        SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
        AVX .................................. AVX AVX2
        AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI
        Other x86 ............................ AES F16C RDRAND SHA
        Intrinsics without compiler architecture option  yes
      Sanitizers:
        Addresses ............................ no
        Threads .............................. no
        Memory ............................... no
        Fuzzer (instrumentation only) ........ no
        Undefined ............................ no
      Build parts ............................ libs examples tools
    Qt modules and options:
      Qt Concurrent .......................... yes
      Qt D-Bus ............................... yes
      Qt D-Bus directly linked to libdbus .... yes
      Qt Gui ................................. yes
      Qt Network ............................. yes
      Qt PrintSupport ........................ yes
      Qt Sql ................................. yes
      Qt Testlib ............................. yes
      Qt Widgets ............................. yes
      Qt Xml ................................. yes
    Support enabled for:
      Using pkg-config ....................... yes
      udev ................................... no
      Using system zlib ...................... yes
      Zstandard support ...................... no
      Thread support ......................... yes
    Common build options:
      Linker can resolve circular dependencies  yes
    Qt Core:
      backtrace .............................. yes
      DoubleConversion ....................... yes
        Using system DoubleConversion ........ no
      GLib ................................... yes
      ICU .................................... yes
      Using system libb2 ..................... no
      Built-in copy of the MIME database ..... yes
      cpp/winrt base ......................... no
      Tracing backend ........................ <none>
      Logging backends:
        journald ............................. no
        syslog ............................... no
        slog2 ................................ no
      PCRE2 .................................. yes
        Using system PCRE2 ................... yes
      CLONE_PIDFD support in forkfd .......... yes
    Qt Sql:
      SQL item models ........................ yes
    Qt Network:
      getifaddrs() ........................... yes
      IPv6 ifname ............................ yes
      libproxy ............................... no
      Linux AF_NETLINK ....................... yes
      OpenSSL ................................ yes
        Qt directly linked to OpenSSL ........ no
      OpenSSL 1.1 ............................ yes
      DTLS ................................... yes
      OCSP-stapling .......................... yes
      SCTP ................................... yes
      Use system proxies ..................... yes
      GSSAPI ................................. no
      Brotli Decompression Support ........... no
    Core tools:
      Android deployment tool ................ yes
      macOS deployment tool .................. no
      Windows deployment tool ................ no
      qmake .................................. yes
    Qt Gui:
      Accessibility .......................... yes
      FreeType ............................... yes
        Using system FreeType ................ yes
      HarfBuzz ............................... yes
        Using system HarfBuzz ................ no
      Fontconfig ............................. yes
      Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
          Using system libjpeg ............... yes
        PNG .................................. yes
          Using system libpng ................ yes
      Text formats:
        HtmlParser ........................... yes
        CssParser ............................ yes
        OdfWriter ............................ yes
        MarkdownReader ....................... yes
          Using system libmd4c ............... no
        MarkdownWriter ....................... yes
      EGL .................................... yes
      OpenVG ................................. no
      OpenGL:
        Desktop OpenGL ....................... yes
        OpenGL ES 2.0 ........................ no
        OpenGL ES 3.0 ........................ no
        OpenGL ES 3.1 ........................ no
        OpenGL ES 3.2 ........................ no
      Vulkan ................................. yes
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... no
      HiRes wheel support in libinput ........ no
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. yes
      xkbcommon .............................. yes
      X11 specific:
        XLib ................................. yes
        XCB Xlib ............................. yes
        EGL on X11 ........................... yes
        xkbcommon-x11 ........................ yes
        xcb-sm ............................... no
    QPA backends:
      DirectFB ............................... no
      EGLFS .................................. yes
      EGLFS details:
        EGLFS OpenWFD ........................ no
        EGLFS i.Mx6 .......................... no
        EGLFS i.Mx6 Wayland .................. no
        EGLFS RCAR ........................... no
        EGLFS EGLDevice ...................... yes
        EGLFS GBM ............................ no
        EGLFS VSP2 ........................... no
        EGLFS Mali ........................... no
        EGLFS Raspberry Pi ................... no
        EGLFS X11 ............................ yes
      LinuxFB ................................ yes
      VNC .................................... yes
      VK_KHR_display ......................... yes
      QNX:
        lgmon ................................ no
        IMF .................................. no
      XCB:
        Using system-provided xcb-xinput ..... no
        GL integrations:
          GLX Plugin ......................... yes
            XCB GLX .......................... yes
          EGL-X11 Plugin ..................... yes
      Windows:
        Direct 2D ............................ no
        Direct 2D 1.1 ........................ no
        DirectWrite .......................... no
        DirectWrite 3 ........................ no
    Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows
    Qt Testlib:
      Tester for item models ................. yes
    Qt PrintSupport:
      CUPS ................................... yes
    Qt Sql Drivers:
      DB2 (IBM) .............................. no
      InterBase .............................. no
      MySql .................................. yes
      OCI (Oracle) ........................... no
      ODBC ................................... no
      PostgreSQL ............................. no
      SQLite ................................. yes
        Using system provided SQLite ......... no
    Further Image Formats:
      JasPer ................................. no
      MNG .................................... no
      TIFF ................................... yes
        Using system libtiff ................. yes
      WEBP ................................... yes
        Using system libwebp ................. yes
    Qt QML:
      QML network support .................... yes
      QML debugging and profiling support .... yes
      QML just-in-time compiler .............. yes
      QML sequence object .................... yes
      QML XML http request ................... yes
      QML Locale ............................. yes
    Qt QML Models:
      QML list model ......................... yes
      QML delegate model ..................... yes
    Qt Quick:
      AnimatedImage item ..................... yes
      Canvas item ............................ yes
      Support for Qt Quick Designer .......... yes
      Flipable item .......................... yes
      GridView item .......................... yes
      ListView item .......................... yes
      TableView item ......................... yes
      TreeView item .......................... yes
      Path support ........................... yes
      PathView item .......................... yes
      Positioner items ....................... yes
      Repeater item .......................... yes
      ShaderEffect item ...................... yes
      Sprite item ............................ yes
    Qt Quick Templates 2:
      Hover support .......................... yes
      Multi-touch support .................... yes
      Calendar support ....................... yes
    Qt Quick Controls 2:
      Styles ................................. Basic Fusion Imagine Material Universal macOS Windows
    Qt Multimedia:
      GStreamer 1.0 .......................... no
      Video for Linux ........................ yes
      Linux DMA buffer support ............... yes
      MMRenderer ............................. no
      AVFoundation ........................... no
      Windows Media Foundation ............... no
    Qt 3D:
      Assimp ................................. yes
      System Assimp .......................... no
      Use SSE2 instructions .................. yes
      Use AVX2 instructions .................. no
      Aspects:
        Render aspect ........................ yes
        Input aspect ......................... yes
        Logic aspect ......................... yes
        Animation aspect ..................... yes
        Extras aspect ........................ yes
    Qt 3D APIs:
      Vulkan ................................. no
    Qt 3D Renderers:
      OpenGL Renderer ........................ yes
      RHI Renderer ........................... no
    Qt3D Geometry Loaders:
      Autodesk FBX ........................... no
    Qt 5 Compatibility Libraries:
      iconv .................................. no
    Qt Charts Types:
      Area Chart ............................. yes
      Line Chart ............................. yes
      Spline Chart ........................... yes
      Scatter Chart .......................... yes
      Bar Chart .............................. yes
      Pie Chart .............................. yes
      Boxplot Chart .......................... yes
      Candlestick Chart ...................... yes
    Qt Axis Types:
      DateTime Axis .......................... yes
    Qt Tools:
      Qt Assistant ........................... yes
      QDoc ................................... yes
      Clang-based lupdate parser ............. yes
      Qt Designer ............................ yes
      Qt Distance Field Generator ............ yes
      Qt Linguist ............................ yes
      pixeltool .............................. yes
      qdbus .................................. yes
      Qt Attributions Scanner ................ yes
      qtdiag ................................. yes
      qtplugininfo ........................... yes
    Qt Opcua:
      Open62541 .............................. yes
      Unified Automation C++ SDK ............. no
      Support for namespace 0 NodeId names ... yes
      Namespace 0 NodeIds generator .......... no
      Open62541 security support ............. yes
      Support for global discovery server .... yes
    Serial Port:
      ntddmodm ............................... no
    QtQuick3D:
      Assimp ................................. yes
      System Assimp .......................... no
    Qt Remote Objects:
      High Availability Manager (ham) ........ no
    Qt Scxml:
      ECMAScript data model for QtScxml ...... yes
    Qt Sensors:
      sensorfw ............................... no
      sensorfw_enabled_with_cmake ............ no
    Qt SerialBus:
      Socket CAN ............................. yes
      Socket CAN FD .......................... yes
      SerialPort Support ..................... yes
    Qt Virtualkeyboard:
      Desktop integration .................... yes
      Built-in layouts ....................... yes
      Key navigation ......................... no
      Retro style as default ................. no
      Sensitive Debug ........................ no
      Cerence ................................ no
        Static Linking ....................... no
        Handwriting .......................... no
          Alphabetic ......................... no
          CJK ................................ no
        XT9 .................................. no
          XT9 Debug .......................... no
          XT9 9-key layouts .................. no
        Bundle resources ..................... no
          Handwriting ........................ no
          XT9 ................................ no
      Hunspell ............................... yes
        Using Hunspell copy from 3rdparty/ ... no
      OpenWnn ................................ yes
      MyScript ............................... no
      Language support enabled for:
        Arabic ............................... yes
        Bulgarian ............................ yes
        Czech ................................ yes
        Danish ............................... yes
        German ............................... yes
        Greek ................................ yes
        English GB ........................... yes
        English US ........................... yes
        Spanish .............................. yes
        Spanish Mexico ....................... yes
        Estonian ............................. yes
        Farsi ................................ yes
        Finnish .............................. yes
        French Canada ........................ yes
        French France ........................ yes
        Hebrew ............................... yes
        Hindi ................................ yes
        Croatian ............................. yes
        Hungarian ............................ yes
        Indonesian ........................... yes
        Italian .............................. yes
        Japanese ............................. yes
        Korean ............................... yes
        Malay ................................ yes
        Norwegian ............................ yes
        Dutch ................................ yes
        Polish ............................... yes
        Portuguese Brazil .................... yes
        Portuguese Portugal .................. yes
        Romanian ............................. yes
        Russian .............................. yes
        Slovak ............................... yes
        Slovenian ............................ yes
        Albanian ............................. yes
        Serbian .............................. yes
        Swedish .............................. yes
        Thai ................................. yes
        Turkish .............................. yes
        Ukrainian ............................ yes
        Vietnamese ........................... yes
        Simplified Chinese ................... yes
        Traditional Chinese .................. yes
        HongKong Chinese ..................... no
      Traditional chinese input methods:
        Zhuyin ............................... yes
        Cangjie .............................. yes
    Qt Wayland TextInput Protocol V4(WIP) .... no
    Qt Wayland Client ........................ yes
    Qt Wayland Compositor .................... yes
    Qt Wayland Drivers:
      EGL .................................... yes
      Raspberry Pi ........................... no
      DRM EGL ................................ yes
      libhybris EGL .......................... no
      Linux dma-buf server buffer integration  yes
      Shm emulation server buffer integration  yes
      Vulkan-based server buffer integration . yes
    Qt Wayland Client Shell Integrations:
      xdg-shell .............................. yes
      ivi-shell .............................. yes
      wl-shell (deprecated) .................. yes
      qt-shell ............................... yes
    Qt Wayland Compositor Layer Plugins:
      VSP2 hardware layer integration ........ no
    -- Qt is now configured for building. Just run 'cmake --build . --parallel'
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should check the test logs to see why the Vulcan detection failed.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • J Offline
        J Offline
        JAre
        wrote on last edited by JAre
        #3
        -- The following packages have been found:
        ...
        * Vulkan
        ...
        * WrapVulkanHeaders
        ...
        

        Can't find anything else Vulkan related except:

        ...
          EGL .................................... yes
          OpenVG ................................. no
          OpenGL:
            Desktop OpenGL ....................... yes
            OpenGL ES 2.0 ........................ no
            OpenGL ES 3.0 ........................ no
            OpenGL ES 3.1 ........................ no
            OpenGL ES 3.2 ........................ no
          Vulkan ................................. yes <-------------
          Session Management ..................... yes
        ...
        Qt 3D:
          Assimp ................................. yes
          System Assimp .......................... no
          Use SSE2 instructions .................. yes
          Use AVX2 instructions .................. no
          Aspects:
            Render aspect ........................ yes
            Input aspect ......................... yes
            Logic aspect ......................... yes
            Animation aspect ..................... yes
            Extras aspect ........................ yes
        Qt 3D APIs:
          Vulkan ................................. no <----------
        Qt 3D Renderers:
          OpenGL Renderer ........................ yes
          RHI Renderer ........................... no
        ...
        Qt Wayland Drivers:
          EGL .................................... yes
          Raspberry Pi ........................... no
          DRM EGL ................................ yes
          libhybris EGL .......................... no
          Linux dma-buf server buffer integration  yes
          Shm emulation server buffer integration  yes
          Vulkan-based server buffer integration . yes <-----
        Qt Wayland Client Shell Integrations:
        ...
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Not the summary, the tests done to determine if the feature is available.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • J Offline
            J Offline
            JAre
            wrote on last edited by
            #5

            Here it is https://gist.githubusercontent.com/JAremko/b629e82cc2758d1ae7e16a7e1d6c1604/raw/af32e36a38e9c278f7a2e14592f598d9be6cb5c7/gistfile1.txt

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Can you try with --debug-trycompile to see if you get more information about what is happening ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • J Offline
                J Offline
                JAre
                wrote on last edited by JAre
                #7

                full config, build and install log

                Interestingly, Qt installs Vulkan 3D examples. What if this "no Vulkan 3D API" line is misleading after all :thinking:

                1 Reply Last reply
                0

                • Login

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