[PyQt] Error: "The input line is too long" when compiling latest snapshot under WinXP

dcassidy36 at mass.rr.com dcassidy36 at mass.rr.com
Sat Apr 4 19:10:21 BST 2009


I am not sure how to work around this one:

The input line is too long.
mingw32-make[1]: *** [QtGui.pyd] Error 255
mingw32-make[1]: Leaving directory `C:/PyQt-20090403/QtGui'
mingw32-make: *** [all] Error 2

The latest snapshot I could build was from 2009331, and looking at the make files, it seems to stem from these two lines in the QtGui makefile:

"CPPFLAGS = -DNDEBUG -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I"C:\PyQt-20090403\qpy\QtGui" -IC:\Python26\include -Ic:/Qt/2009.01/qt\mkspecs\default -Ic:/Qt/2009.01/qt/include\QtGui -Ic:/Qt/2009.01/qt/include\QtCore -Ic:/Qt/2009.01/qt/include

LIBS = -L"C:\PyQt-20090403\qpy\QtGui\release" -LC:\Python26\libs -Lc:/Qt/2009.01/qt/lib -lqpygui -lpython26 -lQtGui4 -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lws2_32 -lole32 -luuid -luser32 -ladvapi32 -lQtCore4 -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32"

It looks like adding -lqpygui and the path to it seems to cause the command prompt to hit the max character limit. Can anyone tell me if there is a workaround for building PyQt4.5 on windows?


More information about the PyQt mailing list