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

Builds on Windows with Long Filenames Fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.6.0
    • Build System: CMake
    • None
    • Windows

    Description

      Build process with files with really long file names throws warnings on Windows machines, and then during compilation eventually fails because a file it needed wasn't created due to the really long filename/path combination

       

      CMake Warning in asset_imports/Quick3DAssets/FridgeFull_Baked_SeparatedMaterials/CMakeLists.txt:
        The object file directory

          C:/b-f/asset_imports/Quick3DAssets/FridgeFull_Baked_SeparatedMaterials/CMakeFiles/Quick3DAssets_FridgeFull_Baked_SeparatedMaterialsplugin.dir/./

        has 144 characters.  The maximum full path to an object file is 250
        characters (see CMAKE_OBJECT_PATH_MAX).  Object file

          Quick3DAssets_FridgeFull_Baked_SeparatedMaterialsplugin_Quick3DAssets_FridgeFull_Baked_SeparatedMaterialsPlugin.cpp.o

        cannot be safely placed under this directory.  The build may not work
        correctly.

      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
              pendletonic Corey Pendleton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes