Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
4.7.0
-
None
-
Windows 2000 SP4.
Description
I'm trying to build Beta 2 of QT 4.7 so that I can build QT Creator 2.0.
After many hours of compiling (with mingw) I get the following:
mingw32-make[1]: Entering directory `C:/Downloads_etc/QTCreator.2.source/qt-4.7.0-beta2/src/3rdparty/webkit/WebCore' mingw32-make -f Makefile.Debug all mingw32-make[2]: Entering directory `C:/Downloads_etc/QTCreator.2.source/qt-4.7.0-beta2/src/3rdparty/webkit/WebCore' g++ -x c++-header -c -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Wall -frtti -fexceptions -mthreads -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DUSE_SYSTEM_MALLOC -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT-DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_USE_MATH_DEFINES -DBUILD_WEBKIT -DNDEBUG -D_HAS_TR1=0 -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_VIDEO=0 -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_WML=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 -DENABLE_DATAGRID=0 -DENABLE_RUBY=1 -DENABLE_SANDBOX=1 -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB_SLICE=0 -DENABLE_3D_RENDERING=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1 -DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1 -DENABLE_WEB_SOCKETS=1 -DENABLE_XSLT=0 -DENABLE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1 -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_COMPLETE -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtNetwork" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include" -I"bridge\qt" -I"page\qt" -I"platform\graphics\qt" -I"platform\network\qt" -I"platform\qt" -I"..\WebKit\qt\Api" -I"..\WebKit\qt\WebCoreSupport" -I"." -I"accessibility" -I"bindings\js" -I"bridge" -I"bridge\c" -I"bridge\jsc" -I"css" -I"dom" -I"dom\default" -I"editing" -I"history" -I"html" -I"html\canvas" -I"inspector" -I"loader" -I"loader\appcache" -I"loader\archive" -I"loader\icon" -I"notifications" -I"page" -I"page\animation" -I"platform" -I"platform\animation" -I"platform\graphics" -I"platform\graphics\filters" -I"platform\graphics\transforms" -I"platform\image-decoders" -I"platform\mock" -I"platform\network" -I"platform\sql" -I"platform\text" -I"plugins" -I"rendering" -I"rendering\style" -I"storage" -I"svg" -I"svg\animation" -I"svg\graphics" -I"svg\graphics\filters" -I"websockets" -I"wml" -I"workers" -I"xml" -I"generated" -I"..\JavaScriptCore" -I"..\..\webkit" -I"..\JavaScriptCore\assembler" -I"..\JavaScriptCore\bytecode" -I"..\JavaScriptCore\bytecompiler" -I"..\JavaScriptCore\debugger" -I"..\JavaScriptCore\interpreter" -I"..\JavaScriptCore\jit" -I"..\JavaScriptCore\parser" -I"..\JavaScriptCore\pcre" -I"..\JavaScriptCore\profiler" -I"..\JavaScriptCore\runtime" -I"..\JavaScriptCore\wtf" -I"..\JavaScriptCore\wtf\symbian" -I"..\JavaScriptCore\wtf\unicode" -I"..\JavaScriptCore\yarr" -I"..\JavaScriptCore\API" -I"..\JavaScriptCore\ForwardingHeaders" -I"..\JavaScriptCore\generated" -I"..\include\QtWebKit" -I"..\..\..\..\include\QtWebKit" -I"tmp\rcc\debug_shared" -I"tmp" -I"plugins\win" -I"platform\win" -I"..\..\sqlite"-I"..\..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_shared\WebKit_pch.h.gch\c++ ..\WebKit\qt\WebKit_pch.h The input line is too long. mingw32-make[2]: *** [tmp/obj/debug_shared/WebKit_pch.h.gch/c++] Error 255 mingw32-make[2]: Leaving directory `C:/Downloads_etc/QTCreator.2.source/qt-4.7.0-beta2/src/3rdparty/webkit/WebCore' mingw32-make[1]: *** [debug-all] Error 2 mingw32-make[1]: Leaving directory `C:/Downloads_etc/QTCreator.2.source/qt-4.7.0-beta2/src/3rdparty/webkit/WebCore' mingw32-make: *** [sub-webkit-make_default-ordered] Error 2
The command line being passed is 3,442 characters long.
A similar thing happens when I configure the build to include either "webkit" or "script" in the build. If I configure with the options -no-webkit and -no-script I get further, but then building the demos fails because QtDeclarative4 (library) cannot be found and attempting to build that manually fails as it required Qt Script.
Unfortunately, as I discovered after two days of compiling, fixing, recompiling (I have a slow PC!) I cannot compile QtCreator 2.0 from source as it too requires QT SCript.
I'm not sure that there's anything I can do on this box to get a longer command line, Microsoft are no help at all - http://support.microsoft.com/kb/830473 - mentions the problem and advises that I should "modify the program that needs the long command line to use a parameter file".
I cannot upgrade the OS or install any other software - it is tied down I'm afraid.
Tracker bug 210904 was similar and was fixed in QT 4.5.
Thanks.
Attachments
Issue Links
- relates to
-
QTBUG-2072 Build Debug Libraries stops with line too long when using qt-win 4.4.0 with MinGW
- Closed
-
QTBUG-41028 Under Windows, "make clean" fails because command line exceeds the cli maximum length
- Closed
- replaces
-
QTBUG-5549 Command length limitation in Windows command line
- Closed