Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95236

qttools fails configure with deactivated features.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 Beta1
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      All

      Description

      Error:

       

      -- Configuring done
      CMake Error at E:/qt6-update/scripts/buildsystems/vcpkg.cmake:546 (_add_executable):
       Target "linguist" links to target "Qt::UiToolsPrivate" but the target was
       not found. Perhaps a find_package() call is missing for an IMPORTED
       target, or an ALIAS target is missing?
      Call Stack (most recent call first):
       E:/qt6-update/installed/x64-windows/share/Qt6/QtExecutableHelpers.cmake:28 (add_executable)
       E:/qt6-update/installed/x64-windows/share/Qt6/QtAppHelpers.cmake:18 (qt_internal_add_executable)
       src/linguist/linguist/CMakeLists.txt:7 (qt_internal_add_app)

       

      Summary:

       

      Configure summary:
      Qt Tools:
       Qt Assistant ........................... no
       QDoc ................................... no
       Clang-based lupdate parser ............. no
       Qt Designer ............................ no
       Qt Distance Field Generator ............ yes
       kmap2qmap .............................. yes
       Qt Linguist ............................ yes
       Mac Deployment Tool .................... no
       pixeltool .............................. yes
       qdbus .................................. yes
       qev .................................... yes
       Qt Attributions Scanner ................ yes
       qtdiag ................................. yes
       qtplugininfo ........................... yes
       Windows deployment tool ................ yes
      

      Relevant options:

       

      "-DFEATURE_assistant=OFF" "-DFEATURE_designer=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Clang=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_WrapLibClang=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=ON"

      Full CMake command line:

       

       

      cmd /c "cd .. && "C:/Program Files/CMake/bin/cmake.exe" "E:/qt6-update/buildtrees/qttools/src/79897a3417-29f0dd04b1.clean" "-DQT_NO_MAKE_EXAMPLES:BOOL=TRUE" "-DQT_NO_MAKE_TESTS:BOOL=TRUE" "-DHOST_PERL:PATH="E:/vcpkg_cache/downloads/tools/perl/5.30.0.1/perl/bin/perl.exe"" "-DINSTALL_BINDIR:STRING=bin" "-DINSTALL_LIBEXECDIR:STRING=bin" "-DINSTALL_PLUGINSDIR:STRING=Qt6/plugins" "-DINSTALL_QMLDIR:STRING=Qt6/qml" "-DFEATURE_assistant=OFF" "-DFEATURE_designer=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Clang=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_WrapLibClang=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=ON" "-DQT_SYNCQT:PATH="E:/qt6-update/installed/x64-windows/tools/Qt6/bin/syncqt.pl"" "-DCMAKE_MAKE_PROGRAM=E:/vcpkg_cache/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=E:/qt6-update/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=E:/qt6-update/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=E:/qt6-update" "-D_VCPKG_INSTALLED_DIR=E:/qt6-update/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DINSTALL_DOCDIR:STRING=doc/Qt6/" "-DINSTALL_INCLUDEDIR:STRING=include/Qt6/" "-DINSTALL_DESCRIPTIONSDIR:STRING=share/Qt6/modules" "-DINSTALL_MKSPECSDIR:STRING=share/Qt6/mkspecs" "-DINSTALL_TRANSLATIONSDIR:STRING=translations/Qt6/" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=E:/qt6-update/packages/qttools_x64-windows""

       

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            neumann-a Alexander Neumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes