Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.5.2
-
None
-
a57fb4207 (dev), 8763ec5cc (6.5), 3dec37c23 (6.6)
Description
The new FX & Material Showroom has issues to compile on Windows. This is due a too deep directory hierarchy during builds:
agent:2023/06/27 10:17:44 build.go:402: CMake Warning in examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle/CMakeLists.txt: agent:2023/06/27 10:17:44 build.go:402: The object file directory agent:2023/06/27 10:17:45 build.go:402: C:/Users/qt/work/qt/qtdoc_build/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle/CMakeFiles/ComponentBundles_MaterialBundle_qmlcache.dir/${CONFIGURATION}/ agent:2023/06/27 10:17:45 build.go:402: has 187 characters. The maximum full path to an object file is 250 agent:2023/06/27 10:17:45 build.go:402: characters (see CMAKE_OBJECT_PATH_MAX). Object file agent:2023/06/27 10:17:45 build.go:402: .rcc/qmlcache/ComponentBundles_MaterialBundle_qmlcache_loader.cpp.obj agent:2023/06/27 10:17:45 build.go:402: cannot be safely placed under this directory. The build may not work agent:2023/06/27 10:17:45 build.go:402: correctly. [...] agent:2023/06/27 10:22:58 build.go:402: AutoMoc subprocess error agent:2023/06/27 10:22:58 build.go:402: ------------------------ agent:2023/06/27 10:22:58 build.go:402: The moc process failed to compile agent:2023/06/27 10:22:58 build.go:402: "SRC:_build/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle/ComponentBundles_MaterialBundleplugin_ComponentBundles_MaterialBundlePlugin.cpp" agent:2023/06/27 10:22:58 build.go:402: into agent:2023/06/27 10:22:58 build.go:402: "SRC:_build/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle/ComponentBundles_MaterialBundleplugin_autogen/include_RelWithDebInfo/ComponentBundles_MaterialBundleplugin_ComponentBundles_MaterialBundlePlugin.moc" agent:2023/06/27 10:22:58 build.go:402: included by agent:2023/06/27 10:22:58 build.go:402: "SRC:_build/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle/ComponentBundles_MaterialBundleplugin_ComponentBundles_MaterialBundlePlugin.cpp" agent:2023/06/27 10:22:58 build.go:402: Command agent:2023/06/27 10:22:58 build.go:402: ------- agent:2023/06/27 10:22:58 build.go:402: C:/Users/qt/work/install/./bin/moc.exe -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_STATICPLUGIN -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Users/qt/work/qt/qtdoc_build/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle -IC:/Users/qt/work/qt/qtdoc/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle -IC:/Users/qt/work/install/include/QtQml -IC:/Users/qt/work/install/include -IC:/Users/qt/work/install/include/QtCore -IC:/Users/qt/work/install/mkspecs/win32-msvc -IC:/Users/qt/work/install/include/QtQmlIntegration -IC:/Users/qt/work/install/include/QtNetwork -Muri=ComponentBundles.MaterialBundle --output-dep-file -o C:/Users/qt/work/qt/qtdoc_build/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle/ComponentBundles_MaterialBundleplugin_autogen/include_RelWithDebInfo/ComponentBundles_MaterialBundleplugin_ComponentBundles_MaterialBundlePlugin.moc C:/Users/qt/work/qt/qtdoc_build/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle/ComponentBundles_MaterialBundleplugin_ComponentBundles_MaterialBundlePlugin.cpp agent:2023/06/27 10:22:58 build.go:402: Output agent:2023/06/27 10:22:58 build.go:402: ------ agent:2023/06/27 10:22:58 build.go:402: moc: Cannot create C:/Users/qt/work/qt/qtdoc_build/examples/demos/FX_Material_Showroom/asset_imports/ComponentBundles/MaterialBundle/ComponentBundles_MaterialBundleplugin_autogen/include_RelWithDebInfo/ComponentBundles_MaterialBundleplugin_ComponentBundles_MaterialBundlePlugin.moc
This is reproducible both in the CI and locally.
Attachments
Issue Links
- resulted from
-
QTBUG-113477 Transform Pocket Demo to be featured application example
-
- Closed
-