Details
Description
Hello everyone,
For builds using mingw-w64 got errors:
configure -v -prefix "%CD%\..\GCC64RH" -opensource -confirm-license -release -shared -platform win32-g++ -opengl dynamic && mingw32-make <snip> mingw32-make[5]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/offscreen' g++ -c -fno-keep-inline-dllexport -g -Og -std=c++1y -fno-exceptions -Wextra -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I..\..\..\..\include -I..\..\..\..\include\QtEventDispatcherSupport -I..\..\..\..\include\QtEventDispatcherSupport\5.11.0 -I..\..\..\..\include\QtEventDispatcherSupport\5.11.0\QtEventDispatcherSupport -I..\..\..\..\include\QtFontDatabaseSupport -I..\..\..\..\include\QtFontDatabaseSupport\5.11.0 -I..\..\..\..\include\QtFontDatabaseSupport\5.11.0\QtFontDatabaseSupport -I..\..\..\..\include\QtGui\5.11.0 -I..\..\..\..\include\QtGui\5.11.0\QtGui -I..\..\..\..\include\QtGui -I..\..\..\..\include\QtANGLE -I..\..\..\..\include\QtCore\5.11.0 -I..\..\..\..\include\QtCore\5.11.0\QtCore -I..\..\..\..\include\QtCore -I.moc\debug -IC:\ProgramData\VulkanSDK\include -I..\..\..\..\mkspecs\win32-g++ -o .obj\debug\qoffscreenintegration.o qoffscreenintegration.cpp mingw32-make[5]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/minimal' g++ -c -fno-keep-inline-dllexport -g -Og -std=c++1y -fno-exceptions -Wextra -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I..\..\..\..\include -I..\..\..\..\include\QtEventDispatcherSupport -I..\..\..\..\include\QtEventDispatcherSupport\5.11.0 -I..\..\..\..\include\QtEventDispatcherSupport\5.11.0\QtEventDispatcherSupport -I..\..\..\..\include\QtFontDatabaseSupport -I..\..\..\..\include\QtFontDatabaseSupport\5.11.0 -I..\..\..\..\include\QtFontDatabaseSupport\5.11.0\QtFontDatabaseSupport -I..\..\..\..\include\QtGui\5.11.0 -I..\..\..\..\include\QtGui\5.11.0\QtGui -I..\..\..\..\include\QtGui -I..\..\..\..\include\QtANGLE -I..\..\..\..\include\QtCore\5.11.0 -I..\..\..\..\include\QtCore\5.11.0\QtCore -I..\..\..\..\include\QtCore -I.moc\debug -IC:\ProgramData\VulkanSDK\include -I..\..\..\..\mkspecs\win32-g++ -o .obj\debug\qminimalintegration.o qminimalintegration.cpp mingw32-make[5]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/generic/tuiotouch' mingw32-make[5]: Nothing to be done for 'first'. mingw32-make[5]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/generic/tuiotouch' mingw32-make[4]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/generic/tuiotouch' mingw32-make[3]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/generic' mingw32-make[4]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats/gif' mingw32-make -f Makefile.Debug mingw32-make[4]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats/jpeg' mingw32-make -f Makefile.Debug mingw32-make[5]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats/gif' mingw32-make[5]: Nothing to be done for 'first'. mingw32-make[5]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats/gif' mingw32-make[4]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats/gif' mingw32-make[5]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats/jpeg' mingw32-make[5]: Nothing to be done for 'first'. mingw32-make[5]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats/jpeg' mingw32-make[4]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats/jpeg' mingw32-make[3]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/imageformats' mingw32-make[5]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/windows' mingw32-make[5]: Nothing to be done for 'first'. mingw32-make[5]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/windows' mingw32-make[4]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/windows' mingw32-make[5]: Entering directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/direct2d' mingw32-make[5]: Nothing to be done for 'first'. mingw32-make[5]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/direct2d' mingw32-make[4]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/direct2d' In file included from qoffscreenintegration.cpp:52:0: ..\..\..\..\include\QtFontDatabaseSupport\5.11.0/QtFontDatabaseSupport/private/qfreetypefontdatabase_p.h:1:10: fatal error: ../../../../../src/platformsupport/fontdatabases/freetype/qfreetypefontdatabase_p.h: No such file or directory #include "../../../../../src/platformsupport/fontdatabases/freetype/qfreetypefontdatabase_p.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. mingw32-make[5]: *** [Makefile.Debug:1027: .obj/debug/qoffscreenintegration.o] Error 1 mingw32-make[5]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/offscreen' mingw32-make[4]: *** [Makefile:36: debug] Error 2 mingw32-make[4]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/offscreen' mingw32-make[3]: *** [Makefile:69: sub-offscreen-make_first] Error 2 mingw32-make[3]: *** Waiting for unfinished jobs.... In file included from qminimalintegration.cpp:47:0: ..\..\..\..\include\QtFontDatabaseSupport\5.11.0/QtFontDatabaseSupport/private/qfreetypefontdatabase_p.h:1:10: fatal error: ../../../../../src/platformsupport/fontdatabases/freetype/qfreetypefontdatabase_p.h: No such file or directory #include "../../../../../src/platformsupport/fontdatabases/freetype/qfreetypefontdatabase_p.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. mingw32-make[5]: *** [Makefile.Debug:1026: .obj/debug/qminimalintegration.o] Error 1 mingw32-make[5]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/minimal' mingw32-make[4]: *** [Makefile:36: debug] Error 2 mingw32-make[4]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms/minimal' mingw32-make[3]: *** [Makefile:44: sub-minimal-make_first] Error 2 mingw32-make[3]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins/platforms' mingw32-make[2]: *** [Makefile:99: sub-platforms-make_first] Error 2 mingw32-make[2]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src/plugins' mingw32-make[1]: *** [Makefile:825: sub-plugins-make_first] Error 2 mingw32-make[1]: Leaving directory 'd:/0123456789ABCDEF0123456789ABCDEF01/libQT-5.11-dev/build/qtbase/src' mingw32-make: *** [Makefile:45: sub-src-make_first] Error 2
Reproduced for:
- Qt5-dev builds using mingw-w64 with path to its sorces more than 58 chars, e.g:
d:\0123456789ABCDEF0123456789ABCDEF01\libQT-5.11-dev\build
not reproduced for:
- Qt5-dev builds using mingw-w64 with path to its sorces 58 characters or less, e.g:
d:\0123456789ABCDEF0123456789ABCDEF0\libQT-5.11-dev\build
- Qt5-dev builds using ICC on Windows and MSVC with path to its sorces more than 58 chars.
Surely, it's not recommended to use long paths aor paths with large nesting to the Qt build directory. But the limitation in 58 characters is pretty strict.
In addition it's unclear, why it affects only builds using mingw-w64.
Best,
Alexander