Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. win11 x64: vcpkg install qt5-translations:x64-windows-static faild, but vcpkg install qt5-translations:x64-windows success.
Forum Updated to NodeBB v4.3 + New Features

win11 x64: vcpkg install qt5-translations:x64-windows-static faild, but vcpkg install qt5-translations:x64-windows success.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 870 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.
  • C Offline
    C Offline
    chris-shenzhen
    wrote on last edited by
    #1

    C:\vcpkg>vcpkg install qt5-translations:x64-windows-static
    Computing installation plan...
    The following packages will be built and installed:

    • qt5-activeqt[core]:x64-windows-static -> 5.15.2#1
    • qt5-declarative[core]:x64-windows-static -> 5.15.2#2
    • qt5-imageformats[core]:x64-windows-static -> 5.15.2#1
    • qt5-svg[core]:x64-windows-static -> 5.15.2#2
    • qt5-tools[core]:x64-windows-static -> 5.15.2#1
      qt5-translations[core]:x64-windows-static -> 5.15.2#1
      Additional packages () will be modified to complete this operation.
      Detecting compiler hash for triplet x64-windows-static...
      -- Automatically setting HTTP(S)_PROXY environment variables to 127.0.0.1:8580
      Restored 0 packages from C:\Users\test\AppData\Local\vcpkg\archives in 267.8 us. Use --debug to see more details.
      Starting package 1/6: qt5-imageformats:x64-windows-static
      Building package qt5-imageformats[core]:x64-windows-static...
      -- Using cached qtimageformats-everywhere-src-5.15.2.tar.xz.
      -- Cleaning sources at C:/vcpkg/buildtrees/qt5-imageformats/src/5.15.2-bdc20f8631.clean. Use --editable to skip cleaning for the packages you specify.
      -- Extracting source C:/vcpkg/downloads/qtimageformats-everywhere-src-5.15.2.tar.xz
      -- Using source at C:/vcpkg/buildtrees/qt5-imageformats/src/5.15.2-bdc20f8631.clean
      -- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst.
      -- Using cached msys-mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst.
      -- Using msys root at C:/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
      -- Configuring x64-windows-static-rel
      CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
      Command failed: C:/vcpkg/installed/x64-windows-static/tools/qt5/bin/qmake.exe CONFIG-=debug CONFIG+=release CONFIG-=shared CONFIG
      =static CONFIG*=static-runtime C:/vcpkg/buildtrees/qt5-imageformats/src/5.15.2-bdc20f8631.clean -qtconf C:/vcpkg/buildtrees/qt5-imageformats/x64-windows-static-rel/qt.conf -- -system-tiff -system-webp -jasper -no-mng -verbose WEBP_INCDIR=C:/vcpkg/installed/x64-windows-static/include "TIFF_LIBS=C:/vcpkg/installed/x64-windows-static/lib/tiff.lib C:/vcpkg/installed/x64-windows-static/lib/lzma.lib C:/vcpkg/installed/x64-windows-static/lib/jpeg.lib C:/vcpkg/installed/x64-windows-static/lib/zlib.lib" "WEBP_LIBS=C:/vcpkg/installed/x64-windows-static/lib/webpdecoder.lib C:/vcpkg/installed/x64-windows-static/lib/webpdemux.lib C:/vcpkg/installed/x64-windows-static/lib/libwebpmux.lib C:/vcpkg/installed/x64-windows-static/lib/webp.lib" "JASPER_LIBS=C:/vcpkg/installed/x64-windows-static/lib/jasper.lib C:/vcpkg/installed/x64-windows-static/lib/freeglut.lib C:/vcpkg/installed/x64-windows-static/lib/jpeg.lib C:/vcpkg/installed/x64-windows-static/lib/zlib.lib"
      Working Directory: C:/vcpkg/buildtrees/qt5-imageformats/x64-windows-static-rel
      Error code: 3
      See logs for more information:
      C:\vcpkg\buildtrees\qt5-imageformats\config-x64-windows-static-rel-err.log

    Call Stack (most recent call first):
    scripts/cmake/vcpkg_configure_qmake.cmake:83 (vcpkg_execute_required_process)
    installed/x64-windows-static/share/qt5/qt_build_submodule.cmake:10 (vcpkg_configure_qmake)
    installed/x64-windows-static/share/qt5/qt_submodule_installation.cmake:8 (qt_build_submodule)
    ports/qt5-imageformats/portfile.cmake:54 (qt_submodule_installation)
    scripts/ports.cmake:142 (include)

    Error: Building package qt5-imageformats:x64-windows-static failed with: BUILD_FAILED
    Please ensure you're using the latest portfiles with git pull and .\vcpkg update, then
    submit an issue at https://github.com/Microsoft/vcpkg/issues including:
    package: qt5-imageformats[core]:x64-windows-static -> 5.15.2#1
    vcpkg version: 2021-10-25-b4bff9afacafb0a234a8f20fd6451b2362c0f9a0
    vcpkg-tool version: 5bdb9d601 2021-10-29 (2 days ago)

    Additionally, attach any relevant sections from the log files above.

    -----config-x64-windows-static-rel-err.log:

    C:/vcpkg/installed/x64-windows-static/tools/qt5/mkspecs/features/qt_build_config.prf:43: 'qtIsPrefixBuild' is not a recognized test function.
    Project ERROR: Qmake spec does not set MAKEFILE_GENERATOR.
    Error processing project file: C:\vcpkg\buildtrees\qt5-imageformats\src\5.15.2-bdc20f8631.clean\qtimageformats.pro

    ---- Anybody tell me how can I install qt5-translations:x64-windows-static success. thanks.

    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