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

qtquickcontrols2. too long paths. windows/static

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.0.0
    • Build System: CMake

    Description

      ninja build fails due to hitting path length constrains. 

      e.g. 

       

      CMake Warning in src/imports/nativestyle/CMakeLists.txt:
       The object file directory
      G:/qt6/buildtrees/qtquickcontrols2/x64-windows-static-rel/src/imports/nativestyle/CMakeFiles/qtquickcontrols2nativestyleplugin_resources_qtquickcontrols2nativestyleplugin_qml_files_resource_2.dir/./
      has 198 characters. The maximum full path to an object file is 250
       characters (see CMAKE_OBJECT_PATH_MAX). Object file
      .rcc/qmlcache/qtquickcontrols2nativestyleplugin_qml_files_resource_2/qmlcache_loader.cpp.obj
      cannot be safely placed under this directory. The build may not work
       correctly.
      

      even without

      qt6/buildtrees/qtquickcontrols2/x64-windows-static-rel/

      the path would hit 236 characters which is only 14 short of the limit. It would thus be good if the name of `qtquickcontrols2nativestyleplugin_resources_qtquickcontrols2nativestyleplugin_qml_files_resource_2` could be shortened somehow. 

       

      why is https://bugreports.qt.io/browse/QTBUG-88581 closed?

       

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes