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

Builds on Windows with Long Filenames Fail

XMLWordPrintable

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

      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.

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

            qtbuildsystem Qt Build System Team
            pendletonic Corey Pendleton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes