<div>Hello</div>
<div> </div>
<div>I'm experiencing some problems with building PyQt4 on a Microsoft Windows machine.</div>
<div> </div>
<div>I have installed the opensource mingw version of Qt 4.2 and compiled the latest snapshot of SIP( 20061028 ) with MinGW. </div>
<div> </div>
<div>When trying to compile PyQt snapshot 20061029 with MinGW ( mingw32-make) I get an "Input line too long" error when it comes to compiling the QtGui directory. I've searched around and I found this is a windows specific problem related to a maximum input line size in the command line interpreter.
</div>
<div> </div>
<div>I'm not very proficient with c++ or maked projects but it seems to me like the QtGui directorys Makefile has an exceptionally long OFILES variable which results in a very long input line to g++, and it unfortunately exceeds a maximum in Windows.
</div>
<div> </div>
<div>Is it perhaps possible to alter the Makefile to make the compilation in two g++ commands instead of one, to shorten the input line?</div>
<div> </div>
<div>Thanks in advance,</div>
<div>Vegar</div>
<div> </div>
<div>Below is the output of the mingw32-make attempt:</div>
<div> </div>
<div>C:\Qt\pyqt>mingw32-make<br>makefile:30: warning: overriding commands for target `.c.o'<br>makefile:27: warning: ignoring old commands for target `.c.o'<br>mingw32-make[1]: Entering directory `C:/Qt/pyqt/QtCore'<br>
mingw32-make[1]: `QtCore.pyd' is up to date.<br>mingw32-make[1]: Leaving directory `C:/Qt/pyqt/QtCore'<br>makefile:30: warning: overriding commands for target `.c.o'<br>makefile:27: warning: ignoring old commands for target `.c.o'
<br>mingw32-make[1]: Entering directory `C:/Qt/pyqt/QtGui'<br>g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt<br>ime-pseudo-reloc -shared -Wl,-subsystem,windows -Wl,-s -o QtGui.pyd sipQtGuicmod
<br>ule.o sipQtGuiQMap.o sipQtGuiQVector.o sipQtGuiQWorkspace.o sipQtGuiQWidgetActio<br>n.o sipQtGuiQWhatsThis.o sipQtGuiQRegExpValidator.o sipQtGuiQDoubleValidator.o s<br>ipQtGuiQIntValidator.o sipQtGuiQValidator.o sipQtGuiQUndoView.o
sipQtGuiQUndoSta<br>ck.o sipQtGuiQUndoCommand.o sipQtGuiQUndoGroup.o sipQtGuiQTreeWidgetItemIterator<br>IteratorFlags.o sipQtGuiQTreeWidgetItemIterator.o sipQtGuiQTreeWidget.o sipQtGui<br>QTreeWidgetItem.o sipQtGuiQTreeView.o
sipQtGuiQToolTip.o sipQtGuiQToolButton.o s<br>ipQtGuiQToolBox.o sipQtGuiQToolBar.o sipQtGuiQTextTable.o sipQtGuiQTextTableCell<br>.o sipQtGuiQTextOptionFlags.o sipQtGuiQTextOption.o sipQtGuiQTextBlockUserData.o<br>sipQtGuiQTextFragment.o
sipQtGuiQTextBlockiterator.o sipQtGuiQTextBlock.o sipQt<br>GuiQTextFrameiterator.o sipQtGuiQTextFrame.o sipQtGuiQTextObject.o sipQtGuiQText<br>BlockGroup.o sipQtGuiQTextList.o sipQtGuiQTextLine.o sipQtGuiQTextLayoutFormatRa
<br>nge.o sipQtGuiQTextLayout.o sipQtGuiQTextInlineObject.o sipQtGuiQTextTableFormat<br>.o sipQtGuiQTextFrameFormat.o sipQtGuiQTextImageFormat.o sipQtGuiQTextListFormat<br>.o sipQtGuiQTextBlockFormat.o sipQtGuiQTextCharFormat.o
sipQtGuiQTextFormatPageB<br>reakFlags.o sipQtGuiQTextFormat.o sipQtGuiQTextLength.o sipQtGuiQTextEditAutoFor<br>matting.o sipQtGuiQTextEditExtraSelection.o sipQtGuiQTextDocumentFragment.o sipQ<br>tGuiQTextDocumentFindFlags.o
sipQtGuiQTextDocument.o sipQtGuiQt.o sipQtGuiQTextC<br>ursor.o sipQtGuiQTextEdit.o sipQtGuiQTextBrowser.o sipQtGuiQTabWidget.o sipQtGui<br>QTableWidget.o sipQtGuiQTableWidgetItem.o sipQtGuiQTableWidgetSelectionRange.o s<br>
ipQtGuiQTableView.o sipQtGuiQTabBar.o sipQtGuiQSystemTrayIcon.o sipQtGuiQSyntaxH<br>ighlighter.o sipQtGuiQStylePainter.o sipQtGuiQStyleOptionGraphicsItem.o sipQtGui<br>QStyleOptionSizeGrip.o sipQtGuiQStyleOptionViewItemV2ViewItemFeatures.o
sipQtGui<br>QStyleOptionViewItemV2.o sipQtGuiQStyleOptionGroupBox.o sipQtGuiQStyleOptionTool<br>BarToolBarFeatures.o sipQtGuiQStyleOptionToolBar.o sipQtGuiQStyleHintReturnMask.<br>o sipQtGuiQStyleHintReturn.o sipQtGuiQStyleOptionTitleBar.o
sipQtGuiQStyleOption<br>ComboBox.o sipQtGuiQStyleOptionToolButtonToolButtonFeatures.o sipQtGuiQStyleOpti<br>onToolButton.o sipQtGuiQStyleOptionSpinBox.o sipQtGuiQStyleOptionSlider.o sipQtG<br>uiQStyleOptionComplex.o sipQtGuiQStyleOptionRubberBand.o
sipQtGuiQStyleOptionToo<br>lBox.o sipQtGuiQStyleOptionViewItem.o sipQtGuiQStyleOptionDockWidget.o sipQtGuiQ<br>StyleOptionMenuItem.o sipQtGuiQStyleOptionProgressBarV2.o sipQtGuiQStyleOptionPr<br>ogressBar.o sipQtGuiQStyleOptionTabV2.o
sipQtGuiQStyleOptionTabCornerWidgets.o s<br>ipQtGuiQStyleOptionTab.o sipQtGuiQStyleOptionButtonButtonFeatures.o sipQtGuiQSty<br>leOptionButton.o sipQtGuiQStyleOptionHeader.o sipQtGuiQStyleOptionTabBarBase.o s<br>ipQtGuiQStyleOptionTabWidgetFrame.o
sipQtGuiQStyleOptionFrameV2FrameFeatures.o s<br>ipQtGuiQStyleOptionFrameV2.o sipQtGuiQStyleOptionFrame.o sipQtGuiQStyleOptionFoc<br>usRect.o sipQtGuiQStyleOption.o sipQtGuiQStyleFactory.o sipQtGuiQStyleSubControl<br>s.o
sipQtGuiQStyleState.o sipQtGuiQStyle.o sipQtGuiQStringListModel.o sipQtGuiQS<br>tatusBar.o sipQtGuiQStandardItem.o sipQtGuiQStandardItemModel.o sipQtGuiQStacked<br>Widget.o sipQtGuiQStackedLayout.o sipQtGuiQSplitterHandle.o
sipQtGuiQSplitter.o<br>sipQtGuiQSplashScreen.o sipQtGuiQDoubleSpinBox.o sipQtGuiQSpinBox.o sipQtGuiQSou<br>nd.o sipQtGuiQSortFilterProxyModel.o sipQtGuiQSlider.o sipQtGuiQSizePolicy.o sip<br>QtGuiQSizeGrip.o sipQtGuiQShortcut.o
sipQtGuiQSessionManager.o sipQtGuiQScrollBa<br>r.o sipQtGuiQScrollArea.o sipQtGuiQRubberBand.o sipQtGuiQRegion.o sipQtGuiQRadio<br>Button.o sipQtGuiQPushButton.o sipQtGuiQProxyModel.o sipQtGuiQProgressDialog.o s<br>ipQtGuiQProgressBar.o
sipQtGuiQPrintEngine.o sipQtGuiQPrintDialog.o sipQtGuiQPri<br>nter.o sipQtGuiQPolygonF.o sipQtGuiQPolygon.o sipQtGuiQPixmapCache.o sipQtGuiQPi<br>ctureIO.o sipQtGuiQPicture.o sipQtGuiQPen.o sipQtGuiQPalette.o sipQtGuiQPainterP
<br>athElement.o sipQtGuiQPainterPath.o sipQtGuiQPaintEngineState.o sipQtGuiQPaintEn<br>gineDirtyFlags.o sipQtGuiQPaintEnginePaintEngineFeatures.o sipQtGuiQPaintEngine.<br>o sipQtGuiQTextItemRenderFlags.o sipQtGuiQTextItem.o
sipQtGuiQPainterRenderHints<br>.o sipQtGuiQPainter.o sipQtGuiQPageSetupDialog.o sipQtGuiQMovie.o sipQtGuiQMessa<br>geBoxStandardButtons.o sipQtGuiQMessageBox.o sipQtGuiQMenuBar.o sipQtGuiQMenu.o<br>sipQtGuiQMatrix.o sipQtGuiQMainWindow.o
sipQtGuiQListWidget.o sipQtGuiQListWidge<br>tItem.o sipQtGuiQListView.o sipQtGuiQLineEdit.o sipQtGuiQLCDNumber.o sipQtGuiQWi<br>dgetItem.o sipQtGuiQSpacerItem.o sipQtGuiQLayoutItem.o sipQtGuiQLabel.o sipQtGui<br>QKeySequence.o
sipQtGuiQItemDelegate.o sipQtGuiQInputDialog.o sipQtGuiQInputCont<br>ext.o sipQtGuiQImageWriter.o sipQtGuiQImageReader.o sipQtGuiQImageIOHandler.o si<br>pQtGuiQPaintDevice.o sipQtGuiQImage.o sipQtGuiQItemSelection.o sipQtGuiQItemSele
<br>ctionModelSelectionFlags.o sipQtGuiQItemSelectionModel.o sipQtGuiQItemSelectionR<br>ange.o sipQtGuiQItemEditorFactory.o sipQtGuiQItemEditorCreatorBase.o sipQtGuiQIc<br>onEngine.o sipQtGuiQIcon.o sipQtGuiQHeaderView.o
sipQtGuiQGroupBox.o sipQtGuiQGr<br>idLayout.o sipQtGuiQGraphicsViewCacheMode.o sipQtGuiQGraphicsView.o sipQtGuiQGra<br>phicsSceneDragDropEvent.o sipQtGuiQGraphicsSceneHelpEvent.o sipQtGuiQGraphicsSce<br>neHoverEvent.o sipQtGuiQGraphicsSceneContextMenuEvent.o
sipQtGuiQGraphicsSceneWh<br>eelEvent.o sipQtGuiQGraphicsSceneMouseEvent.o sipQtGuiQGraphicsSceneEvent.o sipQ<br>tGuiQGraphicsScene.o sipQtGuiQGraphicsItemAnimation.o sipQtGuiQGraphicsItemGroup<br>.o sipQtGuiQGraphicsSimpleTextItem.o
sipQtGuiQGraphicsTextItem.o sipQtGuiQGraphi<br>csPixmapItem.o sipQtGuiQGraphicsLineItem.o sipQtGuiQGraphicsPolygonItem.o sipQtG<br>uiQGraphicsEllipseItem.o sipQtGuiQGraphicsRectItem.o sipQtGuiQGraphicsPathItem.o<br>sipQtGuiQAbstractGraphicsShapeItem.o
sipQtGuiQGraphicsItemGraphicsItemFlags.o s<br>ipQtGuiQGraphicsItem.o sipQtGuiQFontMetricsF.o sipQtGuiQFontMetrics.o sipQtGuiQF<br>ontInfo.o sipQtGuiQFontDialog.o sipQtGuiQList.o sipQtGuiQFontDatabase.o sipQtGui<br>QFontComboBoxFontFilters.o
sipQtGuiQFontComboBox.o sipQtGuiQFont.o sipQtGuiQFocu<br>sFrame.o sipQtGuiQFileDialogOptions.o sipQtGuiQFileDialog.o sipQtGuiQWindowState<br>ChangeEvent.o sipQtGuiQShortcutEvent.o sipQtGuiQFileOpenEvent.o sipQtGuiQActionE
<br>vent.o sipQtGuiQWhatsThisClickedEvent.o sipQtGuiQStatusTipEvent.o sipQtGuiQHelpE<br>vent.o sipQtGuiQDragLeaveEvent.o sipQtGuiQDragEnterEvent.o sipQtGuiQDragMoveEven<br>t.o sipQtGuiQMimeSource.o sipQtGuiQDropEvent.o sipQtGuiQInputMethodEventAttribut
<br>e.o sipQtGuiQInputMethodEvent.o sipQtGuiQContextMenuEvent.o sipQtGuiQHideEvent.o<br>sipQtGuiQShowEvent.o sipQtGuiQIconDragEvent.o sipQtGuiQCloseEvent.o sipQtGuiQRe<br>sizeEvent.o sipQtGuiQMoveEvent.o sipQtGuiQPaintEvent.o
sipQtGuiQFocusEvent.o sip<br>QtGuiQKeyEvent.o sipQtGuiQTabletEvent.o sipQtGuiQWheelEvent.o sipQtGuiQHoverEven<br>t.o sipQtGuiQMouseEvent.o sipQtGuiQInputEvent.o sipQtGuiQErrorMessage.o sipQtGui<br>QDrag.o sipQtGuiQDockWidgetDockWidgetFeatures.o
sipQtGuiQDockWidget.o sipQtGuiQD<br>irModel.o sipQtGuiQFileIconProvider.o sipQtGuiQDialogButtonBoxStandardButtons.o<br>sipQtGuiQDialogButtonBox.o sipQtGuiQDial.o sipQtGuiQDesktopWidget.o sipQtGuiQDes<br>ktopServices.o sipQtGuiQDateEdit.o
sipQtGuiQTimeEdit.o sipQtGuiQDateTimeEditSect<br>ions.o sipQtGuiQDateTimeEdit.o sipQtGuiQDataWidgetMapper.o sipQtGuiQCursor.o sip<br>QtGuiQCompleter.o sipQtGuiQComboBox.o sipQtGuiQColorDialog.o sipQtGuiQClipboard.<br>o sipQtGuiQCheckBox.o
sipQtGuiQButtonGroup.o sipQtGuiQConicalGradient.o sipQtGui<br>QRadialGradient.o sipQtGuiQLinearGradient.o sipQtGuiQGradient.o sipQtGuiQBrush.o<br>sipQtGuiQColor.o sipQtGuiQCalendarWidget.o sipQtGuiQVBoxLayout.o sipQtGuiQHBoxL
<br>ayout.o sipQtGuiQLayout.o sipQtGuiQBoxLayout.o sipQtGuiQPixmap.o sipQtGuiQBitmap<br>.o sipQtGuiQApplication.o sipQtGuiQActionGroup.o sipQtGuiQAction.o sipQtGuiQAbst<br>ractSlider.o sipQtGuiQAbstractTextDocumentLayoutPaintContext.o
sipQtGuiQAbstract<br>TextDocumentLayoutSelection.o sipQtGuiQAbstractTextDocumentLayout.o sipQtGuiQAbs<br>tractSpinBoxStepEnabled.o sipQtGuiQAbstractSpinBox.o sipQtGuiQFrame.o sipQtGuiQA<br>bstractProxyModel.o sipQtGuiQAbstractPrintDialogPrintDialogOptions.o
sipQtGuiQDi<br>alog.o sipQtGuiQAbstractPrintDialog.o sipQtGuiQAbstractItemViewEditTriggers.o si<br>pQtGuiQAbstractScrollArea.o sipQtGuiQAbstractItemView.o sipQtGuiQAbstractItemDel<br>egate.o sipQtGuiQWidget.o sipQtGuiQAbstractButton.o
-L"C:\Program Files\Python\2<br>.5\libs" -LC:\Qt\4.2.1\lib -lpython25 -lQtGui4 -lgdi32 -lcomdlg32 -loleaut32 -li<br>mm32 -lwinmm -lwinspool -lws2_32 -lole32 -luuid -luser32 -ladvapi32 -lQtCore4 -l<br>kernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32
<br>The input line is too long.<br>mingw32-make[1]: *** [QtGui.pyd] Error 255<br>mingw32-make[1]: Leaving directory `C:/Qt/pyqt/QtGui'<br>mingw32-make: *** [all] Error 2<br><br>C:\Qt\pyqt></div>