Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ask for help to build qt
Qt 6.12 LTS is out! See what's new in the release blog

Ask for help to build qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.4k Views 3 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.
  • smallcsduckS Offline
    smallcsduckS Offline
    smallcsduck
    wrote on last edited by smallcsduck
    #1

    I encountered an error while building qt5.12.1.

    The error message is as follows:

    call D:\qtsource\qt5\qtbase\src\gui\qvkgen_wrapper.bat vulkan\vk.xml D:/qtsource/qt5/qtbase/header.LGPL vulkan/qvulkanfunctions
    NMAKE : fatal error U1077: “call”: return code “0xc0000135”

    How to solve this error?

    configure parameters

    configure.bat -platform win32-msvc -prefix d:\qt5.12.1 -opengl dynamic -opensource -confirm-license -release -shared -nomake examples -nomake tests -avx2 -icu -ltcg -ico -gif -sql-sqlite -mp -qt-zlib -qt3d-simd avx2 -qt-freetype -qt-libpng -qt-libjpeg -I "D:\qtsource\dicu\include" -L "D:\qtsource\dicu\lib" -D "D:\qtsource\dicu\bin" -I "D:\qtsource\openssl_64\include" -L "D:\qtsource\openssl_64\lib" -D "D:\qtsource\openssl_64\bin" -I "C:\VulkanSDK\1.1.92.1\Include" -L "C:\VulkanSDK\1.1.92.1\Lib" -D "C:\VulkanSDK\1.1.92.1\Bin" -openssl-linked -qt-assimp -silent -no-dbus

    Build options:
    Mode ................................... release
    Optimize release build for size ........ no
    Building shared libraries .............. yes
    Using C standard ....................... C89
    Using C++ standard ..................... C++1z
    Using gold linker ...................... no
    Using precompiled headers .............. yes
    Using LTCG ............................. yes
    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
    Build parts ............................ libs tools
    App store compliance ................... no
    Qt modules and options:
    Qt Concurrent .......................... yes
    Qt D-Bus ............................... no
    Qt D-Bus directly linked to libdbus .... no
    Qt Gui ................................. yes
    Qt Network ............................. yes
    Qt Sql ................................. yes
    Qt Testlib ............................. yes
    Qt Widgets ............................. yes
    Qt Xml ................................. yes
    Support enabled for:
    Using pkg-config ....................... no
    udev ................................... no
    Using system zlib ...................... no
    Qt Core:
    DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
    GLib ................................... no
    iconv .................................. no
    ICU .................................... yes
    Tracing backend ........................ <none>
    Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
    Using system PCRE2 ..................... no
    Qt Network:
    getifaddrs() ........................... no
    IPv6 ifname ............................ no
    libproxy ............................... no
    OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ yes
    OpenSSL 1.1 ............................ yes
    DTLS ................................... yes
    SCTP ................................... no
    Use system proxies ..................... yes
    Qt Gui:
    Accessibility .......................... yes
    FreeType ............................... yes
    Using system FreeType ................ no
    HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
    Fontconfig ............................. no
    Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
    Using system libjpeg ............... no
    PNG .................................. yes
    Using system libpng ................ no
    EGL .................................... yes
    OpenVG ................................. no
    OpenGL:
    ANGLE ................................ yes
    Combined ANGLE Library ............... no
    Desktop OpenGL ....................... no
    Dynamic 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 .................................. no
    libinput ............................... no
    INTEGRITY HID .......................... no
    mtdev .................................. no
    tslib .................................. no
    xkbcommon .............................. no
    X11 specific:
    XLib ................................. no
    EGL on X11 ........................... no
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. no
    LinuxFB ................................ no
    VNC .................................... no
    Mir client ............................. no
    Windows:
    Direct 2D ............................ yes
    DirectWrite .......................... yes
    DirectWrite 2 ........................ yes
    Qt Sql:
    SQL item models ........................ yes
    Qt Widgets:
    GTK+ ................................... no
    Styles ................................. Fusion Windows WindowsVista
    Qt PrintSupport:
    CUPS ................................... no
    Qt Sql Drivers:
    DB2 (IBM) .............................. no
    InterBase .............................. no
    MySql .................................. no
    OCI (Oracle) ........................... no
    ODBC ................................... yes
    PostgreSQL ............................. no
    SQLite2 ................................ no
    SQLite ................................. yes
    Using system provided SQLite ......... no
    TDS (Sybase) ........................... no
    Qt Testlib:
    Tester for item models ................. yes
    Qt SerialBus:
    Socket CAN ............................. no
    Socket CAN FD .......................... no
    Qt QML:
    QML network support .................... yes
    QML debugging and profiling support .... yes
    QML sequence object .................... yes
    QML list model ......................... yes
    QML XML http request ................... yes
    QML Locale ............................. yes
    QML delegate model ..................... yes
    Qt Quick:
    Direct3D 12 ............................ yes
    AnimatedImage item ..................... yes
    Canvas item ............................ yes
    Support for Qt Quick Designer .......... yes
    Flipable item .......................... yes
    GridView item .......................... yes
    ListView item .......................... yes
    TableView item ......................... yes
    Path support ........................... yes
    PathView item .......................... yes
    Positioner items ....................... yes
    Repeater item .......................... yes
    ShaderEffect item ...................... yes
    Sprite item ............................ yes
    Qt Scxml:
    ECMAScript data model for QtScxml ...... yes
    Qt Gamepad:
    SDL2 ................................... no
    Qt 3D:
    Assimp ................................. yes
    System Assimp .......................... no
    Output Qt3D Job traces ................. no
    Output Qt3D GL traces .................. no
    Use SSE2 instructions .................. yes
    Use AVX2 instructions .................. yes
    Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
    Qt 3D Renderers:
    OpenGL Renderer ........................ yes
    Qt 3D GeometryLoaders:
    Autodesk FBX ........................... no
    Qt Wayland Client ........................ no
    Qt Wayland Compositor .................... no
    Qt Bluetooth:
    BlueZ .................................. no
    BlueZ Low Energy ....................... no
    Linux Crypto API ....................... no
    WinRT Bluetooth API (desktop & UWP) .... yes
    Qt Sensors:
    sensorfw ............................... no
    Qt Quick Controls 2:
    Styles ................................. Default Fusion Imagine Material Universal
    Qt Quick Templates 2:
    Hover support .......................... yes
    Multi-touch support .................... yes
    Qt Positioning:
    Gypsy GPS Daemon ....................... no
    WinRT Geolocation API .................. yes
    Qt Location:
    Qt.labs.location experimental QML plugin . yes
    Geoservice plugins:
    OpenStreetMap ........................ yes
    HERE ................................. yes
    Esri ................................. yes
    Mapbox ............................... yes
    MapboxGL ............................. no
    Itemsoverlay ......................... yes
    QtXmlPatterns:
    XML schema support ..................... yes
    Qt Multimedia:
    ALSA ................................... no
    GStreamer 1.0 .......................... no
    GStreamer 0.10 ......................... no
    Video for Linux ........................ no
    OpenAL ................................. no
    PulseAudio ............................. no
    Resource Policy (libresourceqt5) ....... no
    Windows Audio Services ................. yes
    DirectShow ............................. yes
    Windows Media Foundation ............... yes
    Media player backend ................... DirectShow
    Qt Tools:
    QDoc ................................... yes
    Qt WebEngine:
    Embedded build ......................... no
    Pepper Plugins ......................... yes
    Printing and PDF ....................... yes
    Proprietary Codecs ..................... no
    Spellchecker ........................... yes
    Native Spellchecker .................... no
    WebRTC ................................. yes
    Use System Ninja ....................... no
    Geolocation ............................ yes
    WebChannel support ..................... yes
    Use v8 snapshot ........................ yes
    Kerberos Authentication ................ yes

    K 1 Reply Last reply
    0
    • smallcsduckS smallcsduck

      I encountered an error while building qt5.12.1.

      The error message is as follows:

      call D:\qtsource\qt5\qtbase\src\gui\qvkgen_wrapper.bat vulkan\vk.xml D:/qtsource/qt5/qtbase/header.LGPL vulkan/qvulkanfunctions
      NMAKE : fatal error U1077: “call”: return code “0xc0000135”

      How to solve this error?

      configure parameters

      configure.bat -platform win32-msvc -prefix d:\qt5.12.1 -opengl dynamic -opensource -confirm-license -release -shared -nomake examples -nomake tests -avx2 -icu -ltcg -ico -gif -sql-sqlite -mp -qt-zlib -qt3d-simd avx2 -qt-freetype -qt-libpng -qt-libjpeg -I "D:\qtsource\dicu\include" -L "D:\qtsource\dicu\lib" -D "D:\qtsource\dicu\bin" -I "D:\qtsource\openssl_64\include" -L "D:\qtsource\openssl_64\lib" -D "D:\qtsource\openssl_64\bin" -I "C:\VulkanSDK\1.1.92.1\Include" -L "C:\VulkanSDK\1.1.92.1\Lib" -D "C:\VulkanSDK\1.1.92.1\Bin" -openssl-linked -qt-assimp -silent -no-dbus

      Build options:
      Mode ................................... release
      Optimize release build for size ........ no
      Building shared libraries .............. yes
      Using C standard ....................... C89
      Using C++ standard ..................... C++1z
      Using gold linker ...................... no
      Using precompiled headers .............. yes
      Using LTCG ............................. yes
      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
      Build parts ............................ libs tools
      App store compliance ................... no
      Qt modules and options:
      Qt Concurrent .......................... yes
      Qt D-Bus ............................... no
      Qt D-Bus directly linked to libdbus .... no
      Qt Gui ................................. yes
      Qt Network ............................. yes
      Qt Sql ................................. yes
      Qt Testlib ............................. yes
      Qt Widgets ............................. yes
      Qt Xml ................................. yes
      Support enabled for:
      Using pkg-config ....................... no
      udev ................................... no
      Using system zlib ...................... no
      Qt Core:
      DoubleConversion ....................... yes
      Using system DoubleConversion ........ no
      GLib ................................... no
      iconv .................................. no
      ICU .................................... yes
      Tracing backend ........................ <none>
      Logging backends:
      journald ............................. no
      syslog ............................... no
      slog2 ................................ no
      Using system PCRE2 ..................... no
      Qt Network:
      getifaddrs() ........................... no
      IPv6 ifname ............................ no
      libproxy ............................... no
      OpenSSL ................................ yes
      Qt directly linked to OpenSSL ........ yes
      OpenSSL 1.1 ............................ yes
      DTLS ................................... yes
      SCTP ................................... no
      Use system proxies ..................... yes
      Qt Gui:
      Accessibility .......................... yes
      FreeType ............................... yes
      Using system FreeType ................ no
      HarfBuzz ............................... yes
      Using system HarfBuzz ................ no
      Fontconfig ............................. no
      Image formats:
      GIF .................................. yes
      ICO .................................. yes
      JPEG ................................. yes
      Using system libjpeg ............... no
      PNG .................................. yes
      Using system libpng ................ no
      EGL .................................... yes
      OpenVG ................................. no
      OpenGL:
      ANGLE ................................ yes
      Combined ANGLE Library ............... no
      Desktop OpenGL ....................... no
      Dynamic 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 .................................. no
      libinput ............................... no
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon .............................. no
      X11 specific:
      XLib ................................. no
      EGL on X11 ........................... no
      QPA backends:
      DirectFB ............................... no
      EGLFS .................................. no
      LinuxFB ................................ no
      VNC .................................... no
      Mir client ............................. no
      Windows:
      Direct 2D ............................ yes
      DirectWrite .......................... yes
      DirectWrite 2 ........................ yes
      Qt Sql:
      SQL item models ........................ yes
      Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows WindowsVista
      Qt PrintSupport:
      CUPS ................................... no
      Qt Sql Drivers:
      DB2 (IBM) .............................. no
      InterBase .............................. no
      MySql .................................. no
      OCI (Oracle) ........................... no
      ODBC ................................... yes
      PostgreSQL ............................. no
      SQLite2 ................................ no
      SQLite ................................. yes
      Using system provided SQLite ......... no
      TDS (Sybase) ........................... no
      Qt Testlib:
      Tester for item models ................. yes
      Qt SerialBus:
      Socket CAN ............................. no
      Socket CAN FD .......................... no
      Qt QML:
      QML network support .................... yes
      QML debugging and profiling support .... yes
      QML sequence object .................... yes
      QML list model ......................... yes
      QML XML http request ................... yes
      QML Locale ............................. yes
      QML delegate model ..................... yes
      Qt Quick:
      Direct3D 12 ............................ yes
      AnimatedImage item ..................... yes
      Canvas item ............................ yes
      Support for Qt Quick Designer .......... yes
      Flipable item .......................... yes
      GridView item .......................... yes
      ListView item .......................... yes
      TableView item ......................... yes
      Path support ........................... yes
      PathView item .......................... yes
      Positioner items ....................... yes
      Repeater item .......................... yes
      ShaderEffect item ...................... yes
      Sprite item ............................ yes
      Qt Scxml:
      ECMAScript data model for QtScxml ...... yes
      Qt Gamepad:
      SDL2 ................................... no
      Qt 3D:
      Assimp ................................. yes
      System Assimp .......................... no
      Output Qt3D Job traces ................. no
      Output Qt3D GL traces .................. no
      Use SSE2 instructions .................. yes
      Use AVX2 instructions .................. yes
      Aspects:
      Render aspect ........................ yes
      Input aspect ......................... yes
      Logic aspect ......................... yes
      Animation aspect ..................... yes
      Extras aspect ........................ yes
      Qt 3D Renderers:
      OpenGL Renderer ........................ yes
      Qt 3D GeometryLoaders:
      Autodesk FBX ........................... no
      Qt Wayland Client ........................ no
      Qt Wayland Compositor .................... no
      Qt Bluetooth:
      BlueZ .................................. no
      BlueZ Low Energy ....................... no
      Linux Crypto API ....................... no
      WinRT Bluetooth API (desktop & UWP) .... yes
      Qt Sensors:
      sensorfw ............................... no
      Qt Quick Controls 2:
      Styles ................................. Default Fusion Imagine Material Universal
      Qt Quick Templates 2:
      Hover support .......................... yes
      Multi-touch support .................... yes
      Qt Positioning:
      Gypsy GPS Daemon ....................... no
      WinRT Geolocation API .................. yes
      Qt Location:
      Qt.labs.location experimental QML plugin . yes
      Geoservice plugins:
      OpenStreetMap ........................ yes
      HERE ................................. yes
      Esri ................................. yes
      Mapbox ............................... yes
      MapboxGL ............................. no
      Itemsoverlay ......................... yes
      QtXmlPatterns:
      XML schema support ..................... yes
      Qt Multimedia:
      ALSA ................................... no
      GStreamer 1.0 .......................... no
      GStreamer 0.10 ......................... no
      Video for Linux ........................ no
      OpenAL ................................. no
      PulseAudio ............................. no
      Resource Policy (libresourceqt5) ....... no
      Windows Audio Services ................. yes
      DirectShow ............................. yes
      Windows Media Foundation ............... yes
      Media player backend ................... DirectShow
      Qt Tools:
      QDoc ................................... yes
      Qt WebEngine:
      Embedded build ......................... no
      Pepper Plugins ......................... yes
      Printing and PDF ....................... yes
      Proprietary Codecs ..................... no
      Spellchecker ........................... yes
      Native Spellchecker .................... no
      WebRTC ................................. yes
      Use System Ninja ....................... no
      Geolocation ............................ yes
      WebChannel support ..................... yes
      Use v8 snapshot ........................ yes
      Kerberos Authentication ................ yes

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @smallcsduck

      Hi and welcome back to devnet forum

      Wondering why you are trying to compile Qt libs by yourself?
      In general the online installer versions are easier to handle.

      Vote the answer(s) that helped you to solve your issue(s)

      smallcsduckS 1 Reply Last reply
      0
      • K koahnig

        @smallcsduck

        Hi and welcome back to devnet forum

        Wondering why you are trying to compile Qt libs by yourself?
        In general the online installer versions are easier to handle.

        smallcsduckS Offline
        smallcsduckS Offline
        smallcsduck
        wrote on last edited by smallcsduck
        #3

        @koahnig

        I'd like to try building qt with another compiler and parameters

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

          Hi,

          Can you give more information about that compiler and parameters ?

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

          smallcsduckS 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            Can you give more information about that compiler and parameters ?

            smallcsduckS Offline
            smallcsduckS Offline
            smallcsduck
            wrote on last edited by
            #5

            @SGaist
            configure.bat -platform win32-msvc -prefix d:\qt5.12.1 -opengl dynamic -opensource -confirm-license -release -shared -nomake examples -nomake tests -avx2 -icu -ltcg -ico -gif -sql-sqlite -mp -qt-zlib -qt3d-simd avx2 -qt-freetype -qt-libpng -qt-libjpeg -I "D:\qtsource\dicu\include" -L "D:\qtsource\dicu\lib" -D "D:\qtsource\dicu\bin" -I "D:\qtsource\openssl_64\include" -L "D:\qtsource\openssl_64\lib" -D "D:\qtsource\openssl_64\bin" -I "C:\VulkanSDK\1.1.92.1\Include" -L "C:\VulkanSDK\1.1.92.1\Lib" -D "C:\VulkanSDK\1.1.92.1\Bin" -openssl-linked -qt-assimp -silent -no-dbus

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

              What compiler are you using ?

              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

              • Login

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