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. compile Qt 6.5.3 Src fail
Forum Update on Monday, May 27th 2025

compile Qt 6.5.3 Src fail

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 2 Posters 331 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.
  • pedisChenP Offline
    pedisChenP Offline
    pedisChen
    wrote on last edited by pedisChen
    #1

    using the MinGW 11.2.0 64bit

    configuration is :
    configure.bat -static -prefix "C:\Qt\6.5.3\mingw_64_static" -release

    and Then I build the Src file and fail
    C:\Qt\6.5.3\Src6.5.3>cmake --build . --parallel
    [851/11207] Check QtWebEngine support
    QtWebEngine will not be built: Static build is not supported.
    [855/11207] Check QtPdf support
    QtPdf will not be built: node.js version 12 or later is required.
    [983/11207] Compiling syncqt
    [1/1] Cleaning all built files...
    Cleaning... 2 files.
    [1/2] Building CXX object CMakeFiles/syncqt.dir/main.cpp.obj
    [2/2] Linking CXX executable C:\Qt\6.5.3\Src6.5.3\qtbase\bin\syncqt.exe
    [3009/11207] Linking CXX static library qtbase\plugins\imageformats\libqgif.a
    FAILED: qtbase/plugins/imageformats/libqgif.a
    C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E rm -f qtbase\plugins\imageformats\libqgif.a && C:\Qt\Tools\mingw1120_64\bin\ar.exe qc qtbase\plugins\imageformats\libqgif.a qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/QGifPlugin_autogen/mocs_compilation.cpp.obj qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/main.cpp.obj qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/qgifhandler.cpp.obj && C:\Qt\Tools\mingw1120_64\bin\ranlib.exe qtbase\plugins\imageformats\libqgif.a && cd ."
    C:\Qt\Tools\mingw1120_64\bin\ranlib.exe: could not create temporary file whilst writing archive: no more archived files
    [3026/11207] Building CXX object qtbase/src/printsupport/CMakeFiles/PrintSupport.dir/cmake_pch.hxx.gch
    ninja: build stopped: subcommand failed.

    how to fix it
    and how to compile 32bit version,there is no 32bit version of MinGW 11.2.0 command prompt in QT6,thx

    Axel SpoerlA 1 Reply Last reply
    0
    • pedisChenP pedisChen

      using the MinGW 11.2.0 64bit

      configuration is :
      configure.bat -static -prefix "C:\Qt\6.5.3\mingw_64_static" -release

      and Then I build the Src file and fail
      C:\Qt\6.5.3\Src6.5.3>cmake --build . --parallel
      [851/11207] Check QtWebEngine support
      QtWebEngine will not be built: Static build is not supported.
      [855/11207] Check QtPdf support
      QtPdf will not be built: node.js version 12 or later is required.
      [983/11207] Compiling syncqt
      [1/1] Cleaning all built files...
      Cleaning... 2 files.
      [1/2] Building CXX object CMakeFiles/syncqt.dir/main.cpp.obj
      [2/2] Linking CXX executable C:\Qt\6.5.3\Src6.5.3\qtbase\bin\syncqt.exe
      [3009/11207] Linking CXX static library qtbase\plugins\imageformats\libqgif.a
      FAILED: qtbase/plugins/imageformats/libqgif.a
      C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E rm -f qtbase\plugins\imageformats\libqgif.a && C:\Qt\Tools\mingw1120_64\bin\ar.exe qc qtbase\plugins\imageformats\libqgif.a qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/QGifPlugin_autogen/mocs_compilation.cpp.obj qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/main.cpp.obj qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/qgifhandler.cpp.obj && C:\Qt\Tools\mingw1120_64\bin\ranlib.exe qtbase\plugins\imageformats\libqgif.a && cd ."
      C:\Qt\Tools\mingw1120_64\bin\ranlib.exe: could not create temporary file whilst writing archive: no more archived files
      [3026/11207] Building CXX object qtbase/src/printsupport/CMakeFiles/PrintSupport.dir/cmake_pch.hxx.gch
      ninja: build stopped: subcommand failed.

      how to fix it
      and how to compile 32bit version,there is no 32bit version of MinGW 11.2.0 command prompt in QT6,thx

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      @pedisChen
      See this post.

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      1

      • Login

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