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

Windows Long Path issue for RelWithDebInfo config follow-up

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.1.0
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
    • Environment:
      MSVC, Ninja Multi-Config
    • Platform/s:
      Windows

      Description

      See QTBUG-94211 which fixed at least parts of it.
      But there seem to be more problems lurking. See Tim's comment:

      i'm actually getting the same thing from qtquick controls plugins:

      [302/2148] Building CXX object qtquickcontrols2\src\imports\controls\fusion\impl\CMakeFiles\qtquickcontrols2fusionstyleimplplugin_resources_2.dir\Release\.rcc\qmlcache\qtquickcontrols2fusionstyleimplplugin_qml_files_2\qmlcache_loader.cpp.obj
      FAILED: qtquickcontrols2/src/imports/controls/fusion/impl/CMakeFiles/qtquickcontrols2fusionstyleimplplugin_resources_2.dir/Release/.rcc/qmlcache/qtquickcontrols2fusionstyleimplplugin_qml_files_2/qmlcache_loader.cpp.obj
      sccache.exe C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\cl.exe  /nologo /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_NAMESPACE=NI_6_x_dev -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2IMPL_LIB -DQT_QUICKTEMPLATES2_LIB -DQT_QUICK_LIB -DQT_STATICPLUGIN -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -DCMAKE_INTDIR=\"Release\" -Iqtquickcontrols2\src\imports\controls\fusion\impl\autogen\include_Release -I..\qtquickcontrols2\src\imports\controls\fusion\impl -Iqtquickcontrols2\src\imports\controls\fusion\impl -Iqtbase\include -Iqtdeclarative\src\qml -Iqtbase\include\QtQml\6.1.1 -Iqtbase\include\QtQml\6.1.1\QtQml -Iqtbase\src\corelib -Iqtbase\include\QtCore\6.1.1 -Iqtbase\include\QtCore\6.1.1\QtCore -Iqtbase\include\QtCore -I..\qtbase\mkspecs\win32-msvc -Iqtbase\include\QtQml -Iqtbase\include\QtNetwork -Iqtbase\include\QtGui -Iqtbase\include\QtQuick -Iqtbase\include\QtQmlModels -Iqtbase\include\QtOpenGL -Iqtquickcontrols2\src\quickcontrols2impl -Iqtbase\include\QtQuickControls2Impl\6.1.1 -Iqtbase\include\QtQuickControls2Impl\6.1.1\QtQuickControls2Impl -Iqtbase\include\QtQuickControls2Impl -Iqtdeclarative\src\quick -Iqtbase\include\QtQuick\6.1.1 -Iqtbase\include\QtQuick\6.1.1\QtQuick -Iqtbase\src\gui -Iqtbase\include\QtGui\6.1.1 -Iqtbase\include\QtGui\6.1.1\QtGui -Iqtdeclarative\src\qmlmodels -Iqtbase\include\QtQmlModels\6.1.1 -Iqtbase\include\QtQmlModels\6.1.1\QtQmlModels -Iqtquickcontrols2\src\quicktemplates2 -Iqtbase\include\QtQuickTemplates2\6.1.1 -Iqtbase\include\QtQuickTemplates2\6.1.1\QtQuickTemplates2 -Iqtbase\include\QtQuickTemplates2 /DWIN32 /D_WINDOWS /GR /DNDEBUG -O2 -MD /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -guard:cf -std:c++17 /showIncludes /Foqtquickcontrols2\src\imports\controls\fusion\impl\CMakeFiles\qtquickcontrols2fusionstyleimplplugin_resources_2.dir\Release\.rcc\qmlcache\qtquickcontrols2fusionstyleimplplugin_qml_files_2\qmlcache_loader.cpp.obj /Fdqtquickcontrols2\src\imports\controls\fusion\impl\CMakeFiles\qtquickcontrols2fusionstyleimplplugin_resources_2.dir\Release\ /FS -c qtquickcontrols2\src\imports\controls\fusion\impl\.rcc\qmlcache\qtquickcontrols2fusionstyleimplplugin_qml_files_2\qmlcache_loader.cpp
      D:\native\qt6\build-Qt-6.x-dev-msvc2017-x64-static\qtquickcontrols2\src\imports\controls\fusion\impl\.rcc\qmlcache\qtquickcontrols2fusionstyleimplplugin_qml_files_2\qmlcache_loader.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
      [304/2148] Building CXX object qtquickcontrols2\src\imports\controls\imagine\impl\CMakeFiles\qtquickcontrols2imaginestyleimplplugin_resources_3.dir\Release\.rcc\qmlcache\qtquickcontrols2imaginestyleimplplugin_qml_files_2\qmlcache_loader.cpp.obj
      FAILED: qtquickcontrols2/src/imports/controls/imagine/impl/CMakeFiles/qtquickcontrols2imaginestyleimplplugin_resources_3.dir/Release/.rcc/qmlcache/qtquickcontrols2imaginestyleimplplugin_qml_files_2/qmlcache_loader.cpp.obj
      sccache.exe C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\cl.exe  /nologo /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_NAMESPACE=NI_6_x_dev -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2IMPL_LIB -DQT_QUICKTEMPLATES2_LIB -DQT_QUICK_LIB -DQT_STATICPLUGIN -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -DCMAKE_INTDIR=\"Release\" -Iqtquickcontrols2\src\imports\controls\imagine\impl\qtquickcontrols2imaginestyleimplplugin_autogen\include_Release -I..\qtquickcontrols2\src\imports\controls\imagine\impl -Iqtquickcontrols2\src\imports\controls\imagine\impl -Iqtbase\include -Iqtdeclarative\src\qml -Iqtbase\include\QtQml\6.1.1 -Iqtbase\include\QtQml\6.1.1\QtQml -Iqtbase\src\corelib -Iqtbase\include\QtCore\6.1.1 -Iqtbase\include\QtCore\6.1.1\QtCore -Iqtbase\include\QtCore -I..\qtbase\mkspecs\win32-msvc -Iqtbase\include\QtQml -Iqtbase\include\QtNetwork -Iqtbase\include\QtGui -Iqtbase\include\QtQuick -Iqtbase\include\QtQmlModels -Iqtbase\include\QtOpenGL -Iqtquickcontrols2\src\quickcontrols2impl -Iqtbase\include\QtQuickControls2Impl\6.1.1 -Iqtbase\include\QtQuickControls2Impl\6.1.1\QtQuickControls2Impl -Iqtbase\include\QtQuickControls2Impl -Iqtdeclarative\src\quick -Iqtbase\include\QtQuick\6.1.1 -Iqtbase\include\QtQuick\6.1.1\QtQuick -Iqtbase\src\gui -Iqtbase\include\QtGui\6.1.1 -Iqtbase\include\QtGui\6.1.1\QtGui -Iqtdeclarative\src\qmlmodels -Iqtbase\include\QtQmlModels\6.1.1 -Iqtbase\include\QtQmlModels\6.1.1\QtQmlModels -Iqtquickcontrols2\src\quicktemplates2 -Iqtbase\include\QtQuickTemplates2\6.1.1 -Iqtbase\include\QtQuickTemplates2\6.1.1\QtQuickTemplates2 -Iqtbase\include\QtQuickTemplates2 /DWIN32 /D_WINDOWS /GR /DNDEBUG -O2 -MD /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -guard:cf -std:c++17 /showIncludes /Foqtquickcontrols2\src\imports\controls\imagine\impl\CMakeFiles\qtquickcontrols2imaginestyleimplplugin_resources_3.dir\Release\.rcc\qmlcache\qtquickcontrols2imaginestyleimplplugin_qml_files_2\qmlcache_loader.cpp.obj /Fdqtquickcontrols2\src\imports\controls\imagine\impl\CMakeFiles\qtquickcontrols2imaginestyleimplplugin_resources_3.dir\Release\ /FS -c qtquickcontrols2\src\imports\controls\imagine\impl\.rcc\qmlcache\qtquickcontrols2imaginestyleimplplugin_qml_files_2\qmlcache_loader.cpp
      D:\native\qt6\build-Qt-6.x-dev-msvc2017-x64-static\qtquickcontrols2\src\imports\controls\imagine\impl\.rcc\qmlcache\qtquickcontrols2imaginestyleimplplugin_qml_files_2\qmlcache_loader.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
      [305/2148] Building CXX object qtquickcontrols2\src\imports\controls\imagine\impl\CMakeFiles\qtquickcontrols2imaginestyleimplplugin_resources_3.dir\Debug\.rcc\qmlcache\qtquickcontrols2imaginestyleimplplugin_qml_files_2\qmlcache_loader.cpp.obj
      FAILED: qtquickcontrols2/src/imports/controls/imagine/impl/CMakeFiles/qtquickcontrols2imaginestyleimplplugin_resources_3.dir/Debug/.rcc/qmlcache/qtquickcontrols2imaginestyleimplplugin_qml_files_2/qmlcache_loader.cpp.obj
      sccache.exe C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\cl.exe  /nologo /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_NAMESPACE=NI_6_x_dev -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_EXCEPTIONS -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2IMPL_LIB -DQT_QUICKTEMPLATES2_LIB -DQT_QUICK_LIB -DQT_STATICPLUGIN -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -DCMAKE_INTDIR=\"Debug\" -Iqtquickcontrols2\src\imports\controls\imagine\impl\qtquickcontrols2imaginestyleimplplugin_autogen\include_Debug -I..\qtquickcontrols2\src\imports\controls\imagine\impl -Iqtquickcontrols2\src\imports\controls\imagine\impl -Iqtbase\include -Iqtdeclarative\src\qml -Iqtbase\include\QtQml\6.1.1 -Iqtbase\include\QtQml\6.1.1\QtQml -Iqtbase\src\corelib -Iqtbase\include\QtCore\6.1.1 -Iqtbase\include\QtCore\6.1.1\QtCore -Iqtbase\include\QtCore -I..\qtbase\mkspecs\win32-msvc -Iqtbase\include\QtQml -Iqtbase\include\QtNetwork -Iqtbase\include\QtGui -Iqtbase\include\QtQuick -Iqtbase\include\QtQmlModels -Iqtbase\include\QtOpenGL -Iqtquickcontrols2\src\quickcontrols2impl -Iqtbase\include\QtQuickControls2Impl\6.1.1 -Iqtbase\include\QtQuickControls2Impl\6.1.1\QtQuickControls2Impl -Iqtbase\include\QtQuickControls2Impl -Iqtdeclarative\src\quick -Iqtbase\include\QtQuick\6.1.1 -Iqtbase\include\QtQuick\6.1.1\QtQuick -Iqtbase\src\gui -Iqtbase\include\QtGui\6.1.1 -Iqtbase\include\QtGui\6.1.1\QtGui -Iqtdeclarative\src\qmlmodels -Iqtbase\include\QtQmlModels\6.1.1 -Iqtbase\include\QtQmlModels\6.1.1\QtQmlModels -Iqtquickcontrols2\src\quicktemplates2 -Iqtbase\include\QtQuickTemplates2\6.1.1 -Iqtbase\include\QtQuickTemplates2\6.1.1\QtQuickTemplates2 -Iqtbase\include\QtQuickTemplates2 /DWIN32 /D_WINDOWS /GR /Z7   /RTC1 -MDd /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -std:c++17 /showIncludes /Foqtquickcontrols2\src\imports\controls\imagine\impl\CMakeFiles\qtquickcontrols2imaginestyleimplplugin_resources_3.dir\Debug\.rcc\qmlcache\qtquickcontrols2imaginestyleimplplugin_qml_files_2\qmlcache_loader.cpp.obj /Fdqtquickcontrols2\src\imports\controls\imagine\impl\CMakeFiles\qtquickcontrols2imaginestyleimplplugin_resources_3.dir\Debug\ /FS -c qtquickcontrols2\src\imports\controls\imagine\impl\.rcc\qmlcache\qtquickcontrols2imaginestyleimplplugin_qml_files_2\qmlcache_loader.cpp
      D:\native\qt6\build-Qt-6.x-dev-msvc2017-x64-static\qtquickcontrols2\src\imports\controls\imagine\impl\.rcc\qmlcache\qtquickcontrols2imaginestyleimplplugin_qml_files_2\qmlcache_loader.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
      [310/2148] Building CXX object qtquickcontrols2\src\imports\controls\material\impl\CMakeFiles\qtquickcontrols2materialstyleimplplugin_resources_2.dir\Release\.rcc\qmlcache\qtquickcontrols2materialstyleimplplugin_qml_files_2\qmlcache_loader.cpp.obj
      FAILED: qtquickcontrols2/src/imports/controls/material/impl/CMakeFiles/qtquickcontrols2materialstyleimplplugin_resources_2.dir/Release/.rcc/qmlcache/qtquickcontrols2materialstyleimplplugin_qml_files_2/qmlcache_loader.cpp.obj
      sccache.exe C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\cl.exe  /nologo /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_NAMESPACE=NI_6_x_dev -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2IMPL_LIB -DQT_QUICKTEMPLATES2_LIB -DQT_QUICK_LIB -DQT_STATICPLUGIN -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -DCMAKE_INTDIR=\"Release\" -Iqtquickcontrols2\src\imports\controls\material\impl\qtquickcontrols2materialstyleimplplugin_autogen\include_Release -I..\qtquickcontrols2\src\imports\controls\material\impl -Iqtquickcontrols2\src\imports\controls\material\impl -Iqtbase\include -Iqtdeclarative\src\qml -Iqtbase\include\QtQml\6.1.1 -Iqtbase\include\QtQml\6.1.1\QtQml -Iqtbase\src\corelib -Iqtbase\include\QtCore\6.1.1 -Iqtbase\include\QtCore\6.1.1\QtCore -Iqtbase\include\QtCore -I..\qtbase\mkspecs\win32-msvc -Iqtbase\include\QtQml -Iqtbase\include\QtNetwork -Iqtbase\include\QtGui -Iqtbase\include\QtQuick -Iqtbase\include\QtQmlModels -Iqtbase\include\QtOpenGL -Iqtquickcontrols2\src\quickcontrols2impl -Iqtbase\include\QtQuickControls2Impl\6.1.1 -Iqtbase\include\QtQuickControls2Impl\6.1.1\QtQuickControls2Impl -Iqtbase\include\QtQuickControls2Impl -Iqtdeclarative\src\quick -Iqtbase\include\QtQuick\6.1.1 -Iqtbase\include\QtQuick\6.1.1\QtQuick -Iqtbase\src\gui -Iqtbase\include\QtGui\6.1.1 -Iqtbase\include\QtGui\6.1.1\QtGui -Iqtdeclarative\src\qmlmodels -Iqtbase\include\QtQmlModels\6.1.1 -Iqtbase\include\QtQmlModels\6.1.1\QtQmlModels -Iqtquickcontrols2\src\quicktemplates2 -Iqtbase\include\QtQuickTemplates2\6.1.1 -Iqtbase\include\QtQuickTemplates2\6.1.1\QtQuickTemplates2 -Iqtbase\include\QtQuickTemplates2 /DWIN32 /D_WINDOWS /GR /DNDEBUG -O2 -MD /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -guard:cf -std:c++17 /showIncludes /Foqtquickcontrols2\src\imports\controls\material\impl\CMakeFiles\qtquickcontrols2materialstyleimplplugin_resources_2.dir\Release\.rcc\qmlcache\qtquickcontrols2materialstyleimplplugin_qml_files_2\qmlcache_loader.cpp.obj /Fdqtquickcontrols2\src\imports\controls\material\impl\CMakeFiles\qtquickcontrols2materialstyleimplplugin_resources_2.dir\Release\ /FS -c qtquickcontrols2\src\imports\controls\material\impl\.rcc\qmlcache\qtquickcontrols2materialstyleimplplugin_qml_files_2\qmlcache_loader.cpp
      D:\native\qt6\build-Qt-6.x-dev-msvc2017-x64-static\qtquickcontrols2\src\imports\controls\material\impl\.rcc\qmlcache\qtquickcontrols2materialstyleimplplugin_qml_files_2\qmlcache_loader.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
      [319/2148] Automatic MOC for target qtquickcontrols2materialstyleimplplugin
      

        Attachments

          Issue Links

          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:
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes